Re: Blacklisting power sources

2021-05-10 Thread Richard Hughes
On Sat, 8 May 2021 at 10:42, Florian Leeber wrote: > Following up on my investigations on our Android-based mobile devices I > came to the conclusion that the best solution for solving my fake > battery problem would be a blacklist. Is it being exported as a sysfs "power_supply" class? > I could

Re: Blacklisting power sources

2021-05-10 Thread Florian Leeber
Richard, thanks for the update. Yes, Android kernels are weird. There are lot of drivers inside that are not officially supported by Linux, and they are also not really documented. For example, the Oneplus 5 gives that entries from upower cmdline: /org/freedesktop/UPower/devices/battery_battery /