Skip to content

Commit

Permalink
**2019.5.12-r1 (201905121)**
Browse files Browse the repository at this point in the history
- Installer optimizations
- Updated documentation
  • Loading branch information
VR-25 committed May 12, 2019
1 parent 2f92195 commit e149079
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 17 deletions.
37 changes: 28 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,26 +277,44 @@ Run acc --readme to see the full documentation.
---
## TROUBLESHOOTING

- Charging switch
By default, ACC cycles through all available charging control files until it finds one that works. However, things don't always go well.

++Charging switch++

By default, ACC cycles through all available charging control files until it finds one that works.

However, things don't always go well.
Some switches may be unreliable under certain conditions (e.g., screen off).
Others may hold a wakelock - causing faster battery drain - while in plugged in, not charging state.

Run `acc --set chargingSwitch` to enforce a particular switch.

Test default/set switch(es) with `acc --test`.

Evaluate custom switches with `acc --test <file onValue offValue>`.

- Charging voltage limit

++Charging voltage limit++

Unfortunately, not all devices/kernels support custom charging voltage limit.

Since I don't own every device under the sun, I cannot tell whether yours does.

Use `acc --voltage :millivolts` (e.g., acc -v :4050) for evaluating charging voltage control files.

- Restore default config

++Restore default config++

`acc --set reset`

- Slow charging

++Slow charging++

Nullify coolDownRatio (`acc --set coolDownRatio`) or change its value. By default, coolDownRatio is null.

- Logs are stored at `/sbin/_acc/`. You can export all to `/sdcard/acc-logs-$device.tar.bz2` with `acc --log --export`.

++Logs++

Logs are stored at `/sbin/_acc/`. You can export all to `/sdcard/acc-logs-$device.tar.bz2` with `acc --log --export`.



Expand Down Expand Up @@ -342,6 +360,10 @@ See current submissions [here](https://www.dropbox.com/sh/rolzxvqxtdkfvfa/AABceZ
---
## LATEST CHANGES

**2019.5.12-r1 (201905121)**
- Installer optimizations
- Updated documentation

**2019.5.12 (201905120)**
- Autofix Termux SU PATH
- Do not use Magic Mount; link everything to /sbin
Expand Down Expand Up @@ -374,6 +396,3 @@ See current submissions [here](https://www.dropbox.com/sh/rolzxvqxtdkfvfa/AABceZ
- Temperature values are expressed in actual Celsius degrees
- Updated charging switches database
- Updated documentation

**2019.3.7-r1 (201903071)**
- Hotfix: new users can't install.
7 changes: 1 addition & 6 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##########################################################################################
########################################################################################################
#
# Magisk Module Installer Script
#
Expand Down Expand Up @@ -206,11 +206,6 @@ set_permissions() {
cp -a $MODPATH /sbin/_acc/acc
ln -fs /sbin/_acc/acc/acc /sbin/acc
ln -fs /sbin/_acc/acc/accd-init /sbin/accd
###
[ -h /dev/acc/modPath ] && rm /dev/acc/modPath \
|| rm -rf /dev/acc/modPath 2>/dev/null
cp -a $MODPATH /dev/acc/modPath
###
wait
/sbin/accd
fi
Expand Down
4 changes: 2 additions & 2 deletions module.prop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id=acc
name=Advanced Charging Controller (acc)
version=2019.5.12
versionCode=201905120
version=2019.5.12-r1
versionCode=201905121
author=VR25 @ xda-developers
description=This is primarily intended for extending battery service life. On the flip side, the name says it all. It supports Magisk 17-19.
minMagisk=17000

0 comments on commit e149079

Please sign in to comment.