On Mon, 2020-06-29 at 12:00 +0100, Richard Hughes wrote:
> On Mon, 29 Jun 2020 at 02:54, Giuseppe Sacco
> <giuse...@eppesuigoccas.homedns.org> wrote:
> > Browsing UPower source code I noticed that PMU device is not
> > managed at
> > all, at least on the Linux branch.
> 
> If it helps, HAL used to have code to read from PMU devices. I don't
> think it got ported all those years ago to DeviceKit-power, the old
> name for UPower. I don't think anyone has noticed until now.

CONFIG_BATTERY_PMU in the kernel enables a power_supply class driver
for the PMU. The power portion of CONFIG_ADB_PMU shouldn't be used.

_______________________________________________
devkit-devel mailing list
devkit-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/devkit-devel

Reply via email to