Skip to content

Commit 0b59fd2

Browse files
committed
Speed up acca --set for voltage and current limits
1 parent 94770b8 commit 0b59fd2

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

install/acca.sh

+9-9
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,15 @@ case "$@" in
9494

9595
export "$@"
9696

97-
[ .${mcc-${max_charging_current-x}} = .x ] || {
98-
. $execDir/set-ch-curr.sh
99-
set_ch_curr ${mcc:-${max_charging_current:--}} || :
100-
}
101-
102-
[ ".${mcv-${max_charging_voltage-x}}" = .x ] || {
103-
. $execDir/set-ch-volt.sh
104-
set_ch_volt "${mcv:-${max_charging_voltage:--}}" || :
105-
}
97+
# [ .${mcc-${max_charging_current-x}} = .x ] || {
98+
# . $execDir/set-ch-curr.sh
99+
# set_ch_curr ${mcc:-${max_charging_current:--}} || :
100+
# }
101+
102+
# [ ".${mcv-${max_charging_voltage-x}}" = .x ] || {
103+
# . $execDir/set-ch-volt.sh
104+
# set_ch_volt "${mcv:-${max_charging_voltage:--}}" || :
105+
# }
106106

107107
. $execDir/write-config.sh
108108
exit 0

module.prop

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
id=acc
22
domain=vr25
33
name=Advanced Charging Controller (ACC)
4-
version=v2024.4.7-rc
5-
versionCode=202404070
4+
version=v2024.4.7.1-rc
5+
versionCode=202404071
66
author=VR25
77
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.
88
updateJson=https://raw.githubusercontent.com/VR-25/acc/master/module.json

0 commit comments

Comments
 (0)