Blacklisting power sources

Richard Hughes hughsient at gmail.com
Mon May 10 10:37:38 UTC 2021


On Sat, 8 May 2021 at 10:42, Florian Leeber <florian at ubports.com> 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 add device paths that
> should entirely be ignored by UPower and in turn all consumers. Is there
> any such option, or could this easily be implemented?

If it's what I think it is, you need to fix it in the kernel, not
workaround it in userspace.

> Apart from that I understand that this list has had no traffic in 2
> months, is the project still alive?

Yes.

Richard


More information about the devkit-devel mailing list