Skip to content

Tags: jkmcnk/acc

Tags

201910132

Toggle 201910132's commit message
**2019.10.13-r2-dev (201910132)**

- `forceStatusAt100`: ensure the battery service is ready before freezing/unfreezing the charging status

201910131

Toggle 201910131's commit message
**2019.10.13-r1-dev (201910131)**

- `acc --upgrade`: use `curl` over `wget`

201910130

Toggle 201910130's commit message
**2019.10.13-dev (201910130)**

- `acc-en` executable for front-ends (to ensure acc language is always English)
- `acc -I|--lang`: Show available, as well as the default and currently set languages
- `acc -P|--performance`: accd performance monitor (htop)
- `acc --upgrade`: always use current `installDir`
- Attribute back-end files ownership to front-end app
- Automatically copy installation log to <front-end app data>/files/logs/
- Back-end can be upgraded from Magisk Manager, EX/FK Kernel Manager, and similar apps (alternative to `acc --upgrade`)
- `bundle.sh` - bundler for front-end app
- Default loopDelay: 10,15 (plugged,unplugged)
- Default resume capacity: 75
- Dynamic power saving and voltage control enhancements
- Enhanced power supply logger (psl.sh)
- Fixed busybox and `loopDelay` handling issues
- Fixed `coolDownRatio` delays
- Flashable uninstaller: `/sdcard/acc-uninstaller.zip`
- `forceStatusAt100=status#`: force android to report a specific battery status (e.g., fully charged, value 5 for Pixel devices) at 100% capacity
- Major optimizations
- Prioritize `nano -l` for text editing
- Renamed `chargingVoltageLimit` variable to `maxChargingVoltage`
- Richer installation and initialization logs (/data/adb/acc-data/logs/)
- Simplified Chinese translation (zh-rCN) by zjns @github
- Updated `build.sh` and documentation
- Updated Telegram group link (`t.me/acc_group/`)
- Use `umask 077` everywhere
- Workaround for front-end autostart blockage (Magisk service.d script)
> Note: this version resets config to default to fix common issues and add new settings.

201907211

Toggle 201907211's commit message
**2019.7.21-r1 (201907211)**

- `acc -f`: fixed "daemon not restarted" issue
- `acc -x`: fixed "file not found" error
- Enhanced busybox detection and handling
- Fixed `install-latest.sh` inconsistencies
- Fixed voltage limit typo: 3920-4349, 3500-4350
- Start `accd` immediately after installation (no more ~30 seconds delay)

201907180

Toggle 201907180's commit message
**2019.7.18 (201907180)**

- `acc -d`: use `prioritizeBattIdleMode` variable
- Fixed: `acc -l -a`
- `wakeUnlock` enhancements
- Updated documentation
> Note: this is NOT compatible with AccA 1.0.11-. A new version of the app will be up soon.

**2019.7.12-dev (201907120)**
- acc --log --acc cat (or -l -a cat): print acc log
- acc -V|--version: prints acc version code
- accd: reverted `acpi -a` usage (unreliable) in `enable_charging()`
- Acceptable charging voltage limit range set to 3500-4350 millivolts
- Additional charging switches and voltage control files
- build.sh: automatically checks syntax; generates `acc_bundle` (.tar.gz) and its installer
- Enhanced debugging features
- FBE support: migrate config to /data/adb/acc-data/config.txt and auto-backup/restore it to/from internal storage as needed
- Fixed `wakeUnlock` permissions
- Initialization scripts also work without absolute paths
- `loopDelay=10,30` (plugged,unplugged)
- Major fixes and optimizations
- Removed `rebootOnUnplug` (unreliable)
- Updated documentation
> Note: this is NOT compatible with AccA 1.0.11-.

**2019.7.8-dev (201907080)**
- `acc -U|--uninstall`
- `acc -u|--upgrade [-c|--changelog|-f|--force|-n|--non-interactive] [reference]`: upgrade/downgrade
- Backlisted switch `/sys/power/pnpmgr/battery/charging_enabled 1 0`
- Enhanced efficiency and reliability
- Formalized exit codes
- Major optimizations
- Source tarball installer (can be bundled into apps, along with acc*gz)
- Updated documentation and "installers"

**2019.7.4-dev (201907040)**
- Exclude charging switches with unknown values
- Fixed `acc -s` and `acc -t --` issues

**2019.7.3-dev (201907030)**
- `--enable` and `--disable` options automatically stop accd
- `acc -f` no longer hangs the shell (now runs as a daemon)
- acc -u|--upgrade
- Automatically export logs on [[ $exitCode == [12] ]]
- Default loopDelay: 15 seconds
- Enhanced efficiency and reliability
- Major fixes & optimizations
- Online installer uses `wget` over `curl`, and offline installer as back-end
- prioritizeBattIdleMode=false (read the documentation's troubleshooting section for details)
- Type less with acc -s <regexp> <value> (interactive)
- Updated build.sh and documentation
> Tip: push acc automation to the next level with the latest version of Daily Job Scheduler (djs).

201907120

Toggle 201907120's commit message
**2019.7.12-dev (201907120)**

- acc --log --acc cat (or -l -a cat): print acc log
- acc -V|--version: prints acc version code
- accd: reverted `acpi -a` usage (unreliable) in `enable_charging()`
- Acceptable charging voltage limit range set to 3500-4350 millivolts
- Additional charging switches and voltage control files
- build.sh: automatically checks syntax; generates `acc_bundle` (.tar.gz) and its installer
- Enhanced debugging features
- FBE support: migrate config to /data/adb/acc-data/config.txt and auto-backup/restore it to/from internal storage as needed
- Fixed `wakeUnlock` permissions
- Initialization scripts also work without absolute paths
- `loopDelay=10,30` (plugged,unplugged)
- Major fixes and optimizations
- Removed `rebootOnUnplug` (unreliable)
- Updated documentation
> Note: this is NOT compatible with AccA 1.0.11-.

201907080

Toggle 201907080's commit message
**2019.7.8-dev (201907080)**

- `acc -U|--uninstall`
- `acc -u|--upgrade [-c|--changelog|-f|--force|-n|--non-interactive] [reference]`: upgrade/downgrade
- Backlisted switch `/sys/power/pnpmgr/battery/charging_enabled 1 0`
- Enhanced efficiency and reliability
- Formalized exit codes
- Major optimizations
- Source tarball installer (can be bundled into apps, along with acc*gz)
- Updated documentation and "installers"

201906250

Toggle 201906250's commit message
**2019.6.25 (201906250)**

- Faster `acc -D|--daemon stop` (alias `accd.`)
- Fixed config patching error
- Fixed install-latest.sh unset parameter issue
- General fixes & optimizations
> Note: AccApp 1.0.10 is up; it brings a bunch of bug fixes.

201906230

Toggle 201906230's commit message
**2019.6.23 (201906230)**

- "acc -D|--daemon" alias: "accd,"
- "acc -D|--daemon stop" alias: "accd."
-  acc -t -- <file (fallback: $modPath/switches.txt)>: test charging switches from a file; this will also report whether "battery idle" mode is supported
- General fixes & optimizations
- Increased power efficiency
- Striped down (for easier patching) and renamed config.txt --> acc.conf; comprehensive config information is in the README.md
- Updated documentation: FAQ section and more
- wakeUnlock is null by default

201906200

Toggle 201906200's commit message
**2019.6.20 (201906200)**

- Additional charging control files
- Enhanced daemon reliability
- `install-current.sh` no longer requires absolute path
- Updated documentation
- wakeUnlock - auto-unlock select wakelocks after charging is disabled