Releases: VR-25/acc
Releases · VR-25/acc
v2025.5.1-dev
- -c|--config h string Print config help text associated with "string" (config variable, e.g., acc -c h rt (or resume_temp))
- -s|--set file: Get config from file (in "acc -s" format)
- [acc -c d string] Quotes are no longer mandatory
- [acc -f] Don't use scripts from the default config; fix rt issue
- [acc -p] Filter more irrelevant sysfs nodes
- [acc -t] Add status column hint; show currently set charging switche(s)
- acc -f [cap] -a tries to restart accd automatically shortly after the charger is unplugged; not supported by all devices
- Add debug info to acc-t_output-${device}.log
- Additional switches & device-specific settings
- Also consider dc/online and pc_port/online for plug state detection
- Always sort switches before printing/testing
- Auto re-init accd on exit code 7
- Auto-set batt_status_workaround=false for msm8937
- battStatusOverride: Support ${chargingSwitch[2]} as a file
- Don't include trailing " --" in working switches list
- Drop capacity_sync, discharge_polarity and idle_threshold config variables
- Drop legacy AccA logic
- Exclude battery/store_mode switch
- Exclude current_cmd from mcc working list
- Exclude switches whose num_system_temp_in_levels is null
- Fix "acc -f [#] -s ..."
- Fix "acc -u -f dev^1" syntax & related errors
- Fix "chargingSwitch[2]: parameter not set"
- Fix & optimize current and voltage handling logic
- Fix 'acc -c a "..."'
- Fixes for msm8953 (e.g., Moto Z Play)
- Forbid control files modifications by 3rd-party
- Forbid mt - rt > 10 (fallback to rt = mt - 1)
- Get battery level info from Android's battery service if it differs from the kernel's (replaces capacity_sync)
- Implement battery stats reset workaround
- Implement idle_apps
- Improve bootloop handling logic and debugging tools
- In acc -c a ': sleep profile; at 22:00 "acc -s pc=60 mcc=500; acc -n "sleep profile""', the quotes are optional and all ";" can be replaced with ","
- Include dmesg and logcat in log archive
- Drop cooldownCustom
- Drop thermal_suspend (users can still have something like ":; pkill -STOP -f mi_thermald" in config to suspend thermal management processes)
- Lower switch test timeout
- Make it possible to post multiple notifications with acc -n
- Make the scheduler safer and aware of the "/dev/" prefix
- Minimize the use of subshells
- Notifications include timestamps
- Overwrite control files values 6 times within a second to wake up lazy switches
- Overwrite control files values upon issuing a disable/enable charging command, regardless of charging status
- Parse current and voltage control files only once per boot session to avoid "false defaults"
- Patches for KSU/Apatch, install notes and "no reboot needed" workaround
- Recommend trying temp_level if no regular current control file is found
- Reduce idle mode false positives when
bsw=true
- Reinforce uninstall confirmation
- Reset "auto switch" and move it to the end of the list only if unsolicitedResumes = 3, rather than 1
- Reset switch (in auto-mode) if pbim changes via --set
- Reset working-switches.log on a full switch test
- Rewrite battery info logic (acc -i, -w)
- Rewrite discharge_polarity's logic - now dynamic and fully automatic
- Set idleAbovePcap threshold to (pause_capacity + 1)
- Set millivolts idleAbovePcap threshold to (pause_capacity + 50)
- Show applied config patches after upgrades (Android notification)
- Speed up acca --set for voltage and current limits
- Start accd as soon as the lockscreen shows up (no unlocking required)
- Support "," in place of "|" for egrep patterns (e.g., acc -i curr,volt; acc -w curr,volt; acc -sp cap,temp)
- Support cooldown_current with temp_level as back-end (e.g., acc -s cdc=60% to limit current by 60%)
- Support curl binary without --dns-server option (for upgrades)
- Support more devices with unconventional battery interfaces
- Support Nexus 10 (manta)
- Suppress "Terminated" messages
- Suppress missing current control file errors
- Try honoring allowIdleAbovePcap=false only 2x at most, per accd session
- Try wget if curl fails
- Update docs & strings
- Update installer; add magic overlayfs module support
- Update simplified Chinese translations (by @H-xiaoH)
v2023.10.16
**v2023.10.16 (202310160)** - "edit g" shall work with non-root apps (acc -h g, acc -l g, acc -la g) - -f supports additional options (e.g., acc -f -sc 500) - -h|--help [[editor] [editor_opts] | g for GUI] prints the help text, plus the config - -sd shall not print user scripts - accd auto-updates mcc and mcv arrays (missing ctrl files or array[1] "-" marker) - Added dev tag to update checker - Additional charging switches - Additional current control files - allowIdleAbovePcap=true, if set to false, accd will avoid idle mode (if possible) when capacity > pause_capacity - Auto-move failing switches to the end of the list - Default acc -w refresh rate set to 1 second - Default capacity_sync set to false - Dropped obsolete code & information - Ensure charging switch is set before a pause condition is hit - Fixed html hyperlinks and duplicate temp in acc -i (OnePlus 7) - Implement "rt ct mt" restricted charging hysteresis - Improved current control files parsing & automatic switch logic - KaiOS support - Log export function invokes Android's share dialog - Optimized loop delays (loopDelay=(3 9): 3 seconds while charging/idle, 9 seconds while discharging) - prioritizeBattIdleMode=no has the opposite effect (prioritize non-idle mode) - Refactored battery health calculator and cooldown logic - resume_temp and cooldown_temp optionally override resume_capacity (if resume_temp has a trailing "r", as in resume_temp=35r) - Selection lists count from 0 instead of 1 - Show /dev/ prefix tip only if acc is not in $PATH - Suspend regular daemon functions until discharge_polarity is set, either automatically or manually - Updated documentation - Validate current control files only while charging - Wizard is more user-friendly
v2023.8.19
v2023.8.12
v2023.8.12 (202308120)
- -H|--health : Print estimated battery health
- -r|--readme now sends intent to open README.html
- Additional charging switches
- Fix set_temp_level()
- Fixed one-line scripts identifier
- Fixed random accd crash
- Implemented resume_temp; deprecated max_temp_pause
- Refactored edit handler; use "g" (instead of "app") for GUI editor
- Set default temp_level to null to accommodate battery/siop_level
- Set list number width to 2 columns
Detailed Changelog: v2023.7.17...v2023.8.12
v2023.7.17
**v2023.7.17 (202307170)** - Do not disengage "charge once to %" until unplugged (requires "plug state" API) - Fixed capacity_mask miscalculations (@kaljade) - KernelSu support (#197) - Support Samsung's battery/siop_level by default - XDA S-trace's vFloat kernel patch support (voltage control for SDM660 devices)
v2023.6.26
- A bunch of new features and bug fixes
- Updated logic
- Full changelog link
v2022.7.30-dev
v2022.7.29-dev
- 30aacc2 Add new switch group for Sony Xperia devices
- 3575483 Merge pull request #161 from MrCarb0n/scrap (17fd1c4 prep for external editor app support)
- f93098e --test shall skip missing ctrl files
- 04bf46f Fix ctrl file write function
- 3b96bae Rewrite ctrl file write logic
- b7583e5 Fix & optimize capacity_sync
- d55cd89 Optimize --force
- 142d160 Miscellaneous fixes
- f740feb Fix --parse issues
- 171ec2f Use 3600mV to stop charging with voltage regulators, and don't mask status as "Idle"
- 294297c Print "Hang on..." to make "Terminated" messages less obscure
- a035559 Update documentation
- d08ad09 Update default config layout and comments
- 622dd59 [Wizard] change "exit" option from "g" to "z"
- a8378b0 Additional charging switches
- 7d5f899 Add adb push helper
- 1228f3d Undo "disable mi_thermald"
- 54a8f53 Misc charging control fixes
- bcfc477 Fix "acc -t file"
- d2711ef Fix battery info issues
- d601bce Current and voltage control fixes
- 18485bf Fix AccSettings
- 6cf01cd Fix & optimize cooldown
v2022.7.19-dev
- 66fc662 Bump version
- 423fadb Misc charging control fixes and optimizations
- d74a647 Systemlessly disable mi_thermald
- deb4736 Add support for cooldown_charge=0 (to be used with cooldown_current)
- 6286223 Update documentation
- ded8b86 Rewrite script scheduler
- 950709b Update BATT_HEATH calculator
- e778686 Goodbye loopCmd (replaced by one-line scripts)
- e5110f4 Improve force_off