-
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- accd stop timeout set to 15 seconds (more time for graceful termination). - Do not remount /sbin/. - Faster accd termination - Fixed "--upgrade not recognizing the latest version is already installed". - Fixed "max_temp_pause not honored". - General optimizations - Minor changes to default config, for convenience - Note: config will be reset to fix the accd crash issue several users have been facing.
- Loading branch information
Showing
30 changed files
with
141 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,10 @@ | ||
cooldown | ||
cooldownTemp=(min_temp charge_seconds pause_seconds max_temp max_temp_pause) | ||
cooldownCapacity=(capacity charge_seconds pause_seconds) | ||
|
||
# getval index $var | ||
getval() { | ||
local index=$1 | ||
shift | ||
eval "echo \$$index" | ||
} | ||
|
||
# setval index val var | ||
setval() { | ||
local val_=$1 val="$2" values="" var=$3 | ||
shift 3 | ||
values="$(eval "echo \$$var")" | ||
val_="$(getval $val_ $values)" | ||
eval $var=\""${values/$val_/$val}"\" | ||
} | ||
|
||
install.sh | ||
upgrade acc_bundle.tar.gz and install-tarball.sh | ||
|
||
remove "# legacy" | ||
|
||
acc -u | ||
review automatic switch setting | ||
switch being reset for invalid reasons? | ||
|
||
sometimes, battery % gets stuck if capacity_freeze2 is enabled | ||
stuck in a wait_plug loop? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.