JoeSchubert/kernel_adiutor

Showing the actual charging rate in KA Mod --> "Power and Battery"

Nachtfalkeaw opened this issue · 4 comments

I am running Ressurrection Remix 5.7.2 (Adnroid 6.0.1) and Sensei Kernel 2.3R3 on Xiaomi Mi 4i.
Kernel Aditor Mod V15.

Would be nice to see the actual charing rate in "Power and Battery".

On my phone these values seem to be somewhere here:
/sys/class/power_supply/

But unfortunately I could not locate the exact file until now. Perhaps you can find it.

fgl27 commented

screenshot_20160809-212209

I did that on the Mod version I use for my kernel you can use as example and do it

fgl27/KA27@d4a28c5
fgl27/KA27@37149f1
fgl27/KA27@9690532

The path is not "universal" on the first commit on the below commit I fix that
fgl27/KA27@6ff047d

fgl27 commented

@Nachtfalkeaw
my app is only 100% for my kernel but you can try to see if that featuring works in yours device
then you can confirm here that the path and commits are OK.

Download

👍

Hi,

unfortunately I could not find any file which contains the charging speed in these folders. Further your app does not show it.
It shows everything but not "Battery charging/discharging" and not "Battery charging mode".

For curiosity I can see tha charging rate of 1500mAh on my lockscreen ....

Yeah, I really don't care about this. There are plenty of apps that do this already and it's not a kernel control feature.