- Apr 20, 2013
Try running /system/bin/sh /data/adb/vr25/acc/service.sh instead (latest acc).You can still run a boot script on LineageOS. /system/etc/init.d/90userinit executes /data/local/userinit.sh if it's present. But, AFAIK, only if selinux is already set to permissive in boot.img (for example as described here).
I use AccA to modify the configuration and to update acc. When I'm done with updating AccA or modifying the configuration I freeze AccA with TitaniumBackup.
To initialize acc I use /data/local/userinit.sh.
For AccA until version 1.0.26 (including acc 2020.7.26) I used
Since AccA 1.0.27 (including acc 2020.10.1) I'm trying to use
But it's not working anymore. I guess, something necessary is not initialized at the time userinit.sh is being called.
If I put "sleep 5" in userinit.sh in front of the call of service.sh, accd is being started, otherwise not.
I'm running LineageOS 14.1 with the official su addon and meefik's busybox.
I have a strange problem. Sometimes connect phone to charge(20% battery). Looks after 10 minut and See 100% battery [emoji15] Restart phone is 35%. Do you know where is problem?
Wysłane z mojego HD1903 przy użyciu Tapatalka
Yes, a custom voltage limit causes state of charge (SoC) deviation on some devices.Do you use voltage limits? For me the system got confused when I have set a limit for the voltage. It would ramp up the percentages as it seems it thought the battery is full as the voltage didn't increase anymore
This is a design flaw by OEMs.
I added relevant information to the readme's troubleshooting section.
Is it possible to setup this module to stop charging at 80% and then when a specific time comes, ie. 6am re-start charging to full capacity?
That should be possible with the AccA app (GUI controller for ACC). However, it requires DJS (Daily Job Scheduler), and that tool doesn't work at all on my ROM. I'm not sure whether it also fails on other Android 11 phones/ROMs. Install the AccA APK (on the "releases" page), then create profiles, then create schedules to activate the profiles. If no schedule is created, it's because DJS doesn't work for you. But it's easy to try it and find out.
DJS needs an update.I can confirm that DJ's do work in OOS 10.3.5 along with ACCA app. But there are times it won't work as well or DJ's would say settings missing. It's all random. ACCA interface is clean but some settings doesn't seem to work same like the commands.
I've been working on it.