From 66fc662e14f87fc25bce07b5f375aad5cf0962cb Mon Sep 17 00:00:00 2001 From: VR-25 <28943176+VR-25@users.noreply.github.com> Date: Tue, 19 Jul 2022 15:18:48 +0100 Subject: [PATCH] Bump version --- TODO.txt | 10 +++-- changelog.md | 114 ++++++++++++++++++++++++++++++++++++++++++++------- module.json | 10 ++--- module.prop | 4 +- 4 files changed, 112 insertions(+), 26 deletions(-) diff --git a/TODO.txt b/TODO.txt index 2587ad4..7cca073 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,7 +1,9 @@ notifications resume_capacity and more --e and -d, voltage support -profiles -reduce array usage -adaptive charging + allow any current and voltage values + +kindle e-readers support + /mnt/us + +scheduled bms calibration diff --git a/changelog.md b/changelog.md index 548df90..1a5773a 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,102 @@ +**v2022.7.19-dev (202207190)** +* 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 + +**v2022.7.10-dev (202207100)** +* 4240644 Add voltage support to -e and -d options +* 5a63ada Fix offMid +* fee795b Each ctrl file gets written to 2x +* 6c6badb Optimize force_off +* 4a26458 Bump charging status check timeout + +**v2022.7.4-dev (202207040)** +* 24dcfd7 Update translation info +* 3b882c1 Merge pull request #156 from Babilinx/dev (French translations) +* d0b8b42 Merge pull request #160 from cutiness/dev (Turkish translations) +* 744911d Report status "Idle" as "Not charging" to "fix" AccA +* 36266da Update readme +* 873128e Implement current limiting hack (temp_level) +* 3a72767 Optimize charging control loop +* bc46b40 Optimize forceOff +* 8bada33 Half batt status poll rate +* 426e749 Check config (reset if broken/missing) before loading it +* 50e19b6 Disable seqDrop timeout +* f270ad7 Update config reference +* 21f68d1 Implement forceOff: for keeping stubborn switches off +* e2edbf7 Add new wireless charging switch +* 45cd831 Make less invasive ctrl file permission changes +* fb5cc27 Make each ctrl file read-only after writing to it +* 9f4a5c5 Improve "unplugged" detection +* 19fb9e0 Rename BATT_HEALTH -> HEALTH +* eb0014e Fix: chargingSwitch[@], parameter not set + +**v2022.6.28-dev (202206280)** +* 18c08c4 Improve emulated idle mode feedback (info) +* 84b82de Fix typos +* e9188ae Auto-set discharge_polarity +* 8eba418 Fix acc-p.txt generation +* fda19e8 Improve battery status detection + +**v2022.6.25-dev (202206250)** +* 6e3ad43 Optimize memory usage +* de4150c (origin/dev, origin/HEAD) Rewrite discharge polarity handling logic +* 348e707 Miscellaneous optimizations +* cf2de3b Remember auto-detected discharge polarity until accd is reinitialized +* 660132b Fix language selector +* 7a38b5e Prevent unwanted switch blacklisting +* ec3b204 Remove re-plug notice +* ad922cd Fix: daemon stop timeout not honored +* cf368d3 Exclude additional misleading uevent information +* 942c251 Show battery health % and power supply info (if interfaces are available) +* e8171ba Determine discharge polarity only when the battery is actually discharging +* a725111 Re-enable daemon stop timeout (10 seconds) +* 3a9aeaa Add Zelle donation info +* b768746 Fix switch filter +* bf13dfa Add new charging switches +* 92687bb Fix: misleading "Idle" status +* d2db8e3 acc -p: filter out additional files +* 863e5b1 Fix --parse (acc -p) crash +* 1db225b Fix voltage based idle mode inconsistencies +* 88855fd Disable verbose for -l|--log +* 61961b2 Fix typo + +**v2022.6.21-dev (202206210)** +* 8fc9e92 Update strings +* 5b791e6 Add re-plug notice +* 6884e69 If flip=on, wait for charging to resume +* d22ac4b Update discharge_polarity description +* 637ca4a Fix read_status() +* f8a04d9 Fix AccA idle mode support detection +* 624487c Assume battery is "Discharging" if charging status is unknown/weird +* 20e20c9 Fix: charging can't be enabled, if it was disabled above pause_capacity + +**v2022.6.19-dev (202206190)** +* b1b02c3 Battery status workaround enhancements +* 3c988ff Lower ctrl file write frequency and time +* fcc0e1e Update README & translations +* 07b620b Add offMid toggle + +**v2022.6.12-dev (202206120)** +- 9110ed8 Always check uevent batt status before comparing current +- 5746f7e Fix acc -f +- 1076997 Fix "charging keeps stopping at min < capacity < max" +- 06fff97 Add Turkish tranlations (Türkçe (tr)) by github.com/cutiness +- e429770 Enhance current unit and polarity detection +- ddc8c50 Accelerate accd stop +- 8df12eb Export log archive to /sdcard/Download/ +- 9c4cce3 Include acc-t_output-${device}.log in log archive +- 1579304 Save acc -t output to /sdcard/Download/acc-t_output-${device}.log +- a0846f9 Blacklist /sys/class/qcom-battery/vbus_disable 0 1 +- 12ceb6a --parse: exclude all known switches +- fc1e98b Fix typo + **v2022.6.4 (202206040)** - `-n|--notif [[string] [user]]`: post Android notification; may not work on all systems; - `-t|--test [p|parse]`: parse potential charging switches from power supply log (as `acc -p`), test them all, and add the working ones to the list of known switches; implies `-x`; @@ -29,18 +128,3 @@ - acc -ss and -t show more info/hints; - Fixed `acc: inaccessible or not found` following acc -t execution; - Minor additions to readme. - -**v2022.2.20 (202202200)** -- [acc -t]: show hints, fixed return code issues (10: no switch or all switches fail, 0: success, 15: idle mode works); -- Additional charging switches; -- Consider STATUS=Discharging, if idle() returns false, current turns negative or drops by 101+ mA -- and its absolute value is less than 750 mA; -- Fixed: capacityMask going over 100%; -- Fixed: custom unit conversion factors not effective for acca -i; -- General optimizations; -- Improved busybox detection; -- Misc changes for front-ends; -- New presets for charging_switch=; -- Updated links in README.md; -- Updated naming conventions for release files; -- updateJSON API for front-ends (details in the readme); -- Use idleThreshold=95 (mA) for mtk devices and 15 for the rest. diff --git a/module.json b/module.json index c575191..7d90438 100644 --- a/module.json +++ b/module.json @@ -2,9 +2,9 @@ "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", - "tgz": "https://github.com/VR-25/acc/releases/download/v2022.6.4/acc_v2022.6.4_202206040.tgz", - "tgzInstaller": "https://github.com/VR-25/acc/releases/download/v2022.6.4/install-tarball.sh", - "version": "v2022.6.4", - "versionCode": 202206040, - "zipUrl": "https://github.com/VR-25/acc/releases/download/v2022.6.4/acc_v2022.6.4_202206040.zip" + "tgz": "https://github.com/VR-25/acc/releases/download/v2022.7.19-dev/acc_v2022.7.19-dev_202207190.tgz", + "tgzInstaller": "https://github.com/VR-25/acc/releases/download/v2022.7.19-dev/install-tarball.sh", + "version": "v2022.7.19-dev", + "versionCode": 202207190, + "zipUrl": "https://github.com/VR-25/acc/releases/download/v2022.7.19-dev/acc_v2022.7.19-dev_202207190.zip" } diff --git a/module.prop b/module.prop index 6e0845d..600e279 100644 --- a/module.prop +++ b/module.prop @@ -1,8 +1,8 @@ id=acc domain=vr25 name=Advanced Charging Controller (ACC) -version=v2022.6.4 -versionCode=202206040 +version=v2022.7.19-dev +versionCode=202207190 author=VR25 description=Mainly intended for extending battery service life on Android devices. In a nutshell, this is achieved through limiting charging current, temperature, and voltage. Any root solution is supported. Regardless of whether the system is rooted with Magisk, the installation is always "systemless". updateJson=https://raw.githubusercontent.com/VR-25/acc/master/module.json