Releases: VR-25/acc
**v2021.8.2 (202108020)**
- Fixed AccA related issues. - Fixed charging switch list tester (-t /path/to/list). - Fixed charging switch parser (-p).
v2021.7.28.1
Fix "ghost charging" issue
**v2021.7.28 (202107280)**
-
acc -p|--parse: helps find potential charging switches quickly, for any device; refer to --help for details.
-
Additional charging switches
-
Disable charging after a reboot, if min < capacity < max.
-
Extended test (
[[...]]
) alternative function for better shell compatibility -
Fixed issue
#89
: "--"" not respected in charging switch options. -
Fixed issue
#90
: acc is disabled in Magisk, but it keeps starting. -
Fixed issue
#97
: accd dies after plugging USB cable (thanks, @530f6caa). -
General fixes & optimizations
-
German translation by @marrobHD
-
Max allowed custom charging voltage limit set to 4300 millivolts.
-
Cooldown, pause, shutdown and resume capacities can be in millivolts instead of percentages (beta feature).
-
Post Android shutdown warning notifications at sc+10%, sc+5%, sc+300mV and sc+100mV (beta feature).
-
Save data to /data/adb/vr25/acc-data/, for security reasons.
-
Strip negative sign from current if battery is charging.
-
Updated documentation.
Release Notes
-
acc pause_millivolts resume_millivolts
, e.g.,acc 3920 3800
, is yet another "cheap" alternative to direct charging voltage control. -
If you've been facing the "accd stops randomly" issue, share the output of
acc -l tail
as soon as you notice the problem. -
If you need more charging switches, try
acc -p
while charging; it'll print potential candidates.
The results can be batch tested withacc -t /path/to/list
oracc -t file on off
. -
Upgrading to this version will reset config.txt.
**v2021.2.25 (202102250)**
- Added back `battery/op_disable_charge 0 1` charging switch for OnePlus devices. - Enforce control files mode 0644, so that other processes cannot reset/override changes made by acc. - Fixed current control issues. For details, refer to `config.txt > current_workaround` or `readme > default config > current_workaround`. - General optimizations Release note: those who have current-related settings must reboot after upgrading, then reapply those settings manually (e.g., `acc -sc 1800`).
**v2020.11.20 (202011200)**
- Additional charging switches - Current control enhancements - Fixed `acc -sr` (reset config command). - General fixes & optimizations - Improved power supply logger. - Updated translations. Release Notes - If cooldown_current is set or current-based charging control is enabled (e.g., charging_switch=0), reboot after upgrading. - If custom charging current limit is set, reboot after upgrading then reapply the limit (e.g., acc -sc 1000). - Nexus 7 users, I'm yet to find charging and current control files for this family of devices. The power supply logs contain nothing relevant.
**v2020.10.28 (202010280)**
- 500 mA preset for charging_switch. - `acc [pause_capacity [resume_capacity, default: pause_capacity - 5]]`, e.g., acc 80 (resume_capacity defaults to 80 - 5) - Enhanced current-based charging control (still experimental, but should be more stable now). - General fixes and optimizations - Updated documentation. Release note: those using current-based charging control should reboot after the upgrade.
**v2020.10.24 (202010240)**
- [Experimental] Current-based charging control - enabled by setting charging_switch=milliamps (e.g., 250). - cooldown_current is no longer the default cooldown method due to issues observed on some devices. - Fixed `acc -ss`. - Major optimizations - New charging switch for OnePlus Devices - Shutdown if battery temp hits shutdown_temp, default: 65 degrees Celsius. - Updated default config, project framework and readme. Release Notes - AccA has been found to be behind several issues, e.g., unwanted config resets, changes to config not sticking. - If you still face issues after uninstalling AccA, see whether resetting acc config (`acc -sr`) helps. - Recall that if you feel uncomfortable with terminal, you don't have to use it at all! The config file can be edited manually (text editor). The process is very straightforward. Just do not edit in Windows Notepad, ever! It replaces LF (Linux/Unix) with CRLF (Windows) line endings.
**v2020.10.15 (202010150)**
- Current control optimizations - Dynamically determine the right temperature reporter; use a dummy file (25Β°C) if none is found.
**v2020.10.14 (202010140)**
- acc -i: show additional power supply info, if any. - build.sh: copy uninstaller to build dir. - cooldown_current: instead of pausing charging periodically during the cooldown phase, lower the charging current (0mA or custom). This is the default behavior (smoother). - Fetch current and voltage control files only once per boot session to prevent loss of default values. - Fixed daemon restart/stop timeout issues. - Fixed Zygote-related issue that prevented accd initialization on boot. - Misc fixes & optimizations - MTK switch delay ranges from 5 to 20 seconds.
**v2020.10.8 (202010080)**
- Changelog is sorted in reverse order (older first). - Enhanced dynamic switch delay. - Fixed capacity_freeze2 and capacity_sync. - General optimizations - Move persistent data to /sdcard/Documents/vr25/acc/ for compatibility with Android 11 storage isolation. - Updated documentation (FAQ, tips, voltage issues, Samsung's "70% problem", etc.). - Use `cmd` in place of most `dumpsys` calls.