Skip to content

Commit

Permalink
**v2023.10.16 (202310160)**
Browse files Browse the repository at this point in the history
- "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
  • Loading branch information
VR-25 committed Oct 16, 2023
1 parent 473e2d9 commit f3d6eb0
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 21 deletions.
45 changes: 32 additions & 13 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,34 @@
**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 (202308190)**
- 1936210 Fix print_quit error
- 28d68bd Fix -f and temp_level
Expand All @@ -11,22 +42,10 @@
- -H|--health <mAh>: Print estimated battery health
- -r|--readme now sends intent to open README.html
- Additional charging switches
- Fix set_temp_level()
- Fix set_temp_level() sleep 4;
- 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

**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 (202306260)**
* A bunch of new features and bug fixes
* Updated logic
* Full changelog [link](https://github.com/VR-25/acc/compare/v2022.6.4...v2023.6.26)
12 changes: 6 additions & 6 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"busybox": "https://github.com/Magisk-Modules-Repo/busybox-ndk",
"changelog": "https://raw.githubusercontent.com/VR-25/acc/master/changelog.md",
"curl": "https://github.com/Zackptg5/Cross-Compiled-Binaries-Android/tree/master/curl",
"onlineInstaller": "https://github.com/VR-25/acc/releases/download/v2023.8.19/install-online.sh",
"tgz": "https://github.com/VR-25/acc/releases/download/v2023.8.19/acc_v2023.8.19_202308190.tgz",
"tgzInstaller": "https://github.com/VR-25/acc/releases/download/v2023.8.19/install-tarball.sh",
"version": "v2023.8.19",
"versionCode": 202308190,
"zipUrl": "https://github.com/VR-25/acc/releases/download/v2023.8.19/acc_v2023.8.19_202308190.zip"
"onlineInstaller": "https://github.com/VR-25/acc/releases/download/v2023.10.16/install-online.sh",
"tgz": "https://github.com/VR-25/acc/releases/download/v2023.10.16/acc_v2023.10.16_202310160.tgz",
"tgzInstaller": "https://github.com/VR-25/acc/releases/download/v2023.10.16/install-tarball.sh",
"version": "v2023.10.16",
"versionCode": 202310160,
"zipUrl": "https://github.com/VR-25/acc/releases/download/v2023.10.16/acc_v2023.10.16_202310160.zip"
}
4 changes: 2 additions & 2 deletions module.prop
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
id=acc
domain=vr25
name=Advanced Charging Controller (ACC)
version=v2023.10.9-rc
versionCode=202310090
version=v2023.10.16
versionCode=202310160
author=VR25
description=Extend your battery's service life by controlling charging current, temperature, and voltage. Any root solution is supported. The installation is always "systemless". Works on Android and KaiOS.
updateJson=https://raw.githubusercontent.com/VR-25/acc/master/module.json

0 comments on commit f3d6eb0

Please sign in to comment.