Skip to content

Releases: VR-25/acc

**v2021.12.20 (202112200)**

20 Dec 13:48
Compare
Choose a tag to compare
- [accd, misc-functions]: prevent unwanted crashes related to `eval` and `set -eu`;
- [batt-info]: filter out the unreliable `POWER_SUPPLY_CHARGE_TYPE` property (note: this change makes AccA always display "unknown" charge type);
- [batt-info]: fixed current reading issue;
- [batt-info]: round current and voltage values to two decimal places;
- [ctrl-files]: added `battery/op_disable_charge 0 1` switch;
- [README]: updated troubleshooting section;
- General optimizations.

**v2021.12.14 (202112140)**

14 Dec 12:54
Compare
Choose a tag to compare
- Additional charging switches;
- Auto-add current and voltage ctrl files to charging switches list for extended idle mode support;
- Do not include potentially sensitive data in log archives;
- Enhanced charging status and idle mode detection (current is checked in addition to battery status);
- General fixes & optimizations;
- Reverted `acc mA` resume difference to 50;
- Updated build script;
- Updated links in the README.

**v2021.11.3 (202111030)**

03 Nov 17:12
Compare
Choose a tag to compare
- Fixed installation issues
- Improved support for the current Magisk canary.
- Shutdown warning notifications (mV) are now posted at shutdown_capacity + 100mV (formerly 200).

**v2021.10.30 (202110300)**

30 Oct 17:43
Compare
Choose a tag to compare
- Additional charging switches
- All control files (switches, current and voltage) are now contained in a single file (ctrl-files.sh) and it can be overridden by a plugin with the same name.
- Fixed issue #117 (@onokatio).
- General optimizations
- Shutdown warning notifications are less annoying (non-repetitive), but are still disabled by default. To enable, create the file `/data/adb/vr25/acc-data/warn`.
- Strip newlines from the output of acc -p.
- The logs tarball now also includes the outputs of `getprop` and `acc -p` (potential/new charging switches).
- Updated Documentation

**v2021.9.20 (202109200)**

20 Sep 09:54
Compare
Choose a tag to compare
- General enhancements
- Manual capacitySync toggle (`[capacity_sync|cs] = [true|false]`) - it overrides the automatic. Both include the `freeze at 2%` feature. This is the actual `capacity_freeze2` replacement now. `capacity_mask` implies `capacity_sync`.
- Unlike in previous versions, changes to `capacity_mask` and `capacity_sync` take effect (within a few seconds) without a daemon restart.
- Updated documentation

**v2021.9.19 (202109190)**

19 Sep 15:37
Compare
Choose a tag to compare
- Additional charging switches - the database is more concise with the extensive use of wildcards.
- Battery status detection enhancements
- `capacity_mask=true`: forces Android to report `capacity = capacity * (100 / pause_capacity)`, effectively masking capacity limits. This replaces `capacity_freeze2`.
- `current_workaround` no longer requires a reboot (just `accd --init`).
- Fixed cooldown and `acc -f` issues.
- General fixes & optimizations
- Optimized `--parse` (`acc -p`).
- Support for "volatile" plugins (gone on reboot, useful for debugging): `/dev/.vr25/acc/plugins/`
- Updated documentation (mainly tips > idle mode and alternatives)
- Upgrade rollback feature (`-b|--rollback` or wizard option `f`)

**v2021.9.5 (202109050)**

05 Sep 19:25
Compare
Choose a tag to compare
- Additional charging switches (including a group of 3 for OnePlus that allegedly enable idle mode)
- Fixed plugins path typo
- General fixes
- Major optimizations
- Support for charging switch groups with unlimited number of elements (e.g., s="file1 on off file2 on off file3 on off...")
- Use charge_type in addition to status to determine the real battery status.

**v2021.8.31 (202108310)**

31 Aug 14:18
Compare
Choose a tag to compare
- Additional charging switches
- Fixed "current_now is always 0 mA."
- Logs are exported as a tarball archive.
- Updated readme > notes/tips for front-end developers > initializing acc

**v2021.8.29 (202108290)**

29 Aug 19:43
Compare
Choose a tag to compare
- acc -t <file> skips panicky switches in subsequent runs.

- `acc[d] -x [options] [args]` sets `log=/sdcard/acc[d]-${device}.log`; it's useful for debugging unwanted reboots.

- accd is always stopped gracefully - to ensure defaults are always restored.
This has a potential unwanted side-effect.
Refer to the release note bellow and documentation for details.

- Additional charging switches

- [Beta] if the file /data/adb/vr25/acc-data/warn exists, accd posts Android shutdown warning notifications at sc+10%, sc+5%, sc+300mV and sc+100mV.

- Charging switches set with `acc -ss` are now persistent (i.e., the string " --" is automatically appended to them).

- Enhanced current and voltage units conversion
- Improved fronted support (installers and doc)
- General optimizations

- If charging switch is set to 3700 (millivolts), acc stops charging by limiting voltage.
-
- Implemented workarounds for unreadable battery/uevent and unreliable battery/status (kernel bugs) affecting mainly Pixel and LG devices.

- Set batt_slate_mode as default charging control file for Exynos devices
- Support for plugins, refer to [plugins](#plugins) for details.
- Removed potentially troublesome switches.

- The wizard includes battery info (--info).
- Updated documentation (more information, now with a table of contents and in HTML format)

Release note: plug the charger if the install, upgrade, stop or restart processes seem to take too long.

**v2021.8.4 (202108040)**

04 Aug 19:33
Compare
Choose a tag to compare
- Dynamically add/remove current_now negative sign.
- Fixed "acca: id: parameter not set".