Am 07.03.2021 um 23:09 schrieb Florian Leeber: > Hi guys, > > I am Florian from UBports, the community behind Ubuntu Touch, doing > alternative mobile OS for Android- and Non-Android hardware :) > > We are using a customized version of Ubuntu, running off the rather > outdated 16.04 LTS (but switching now to 20.04 soon). Therefore, also > upower tools are installed, and working fine in general for most of our > devices. With a DBus connection data from upowerd is transferred into > repowerd and also the desktop indicator-power, which will display status > of charging, percentage etc. > > Now it turns out that with more recent hardware (Lets say Android phones > after 8.0) the charging state is no longer detect correctly. Lets see > this code for the main detection routine in repowerd to determine power > state: > On that regard, it looks like the charging state follows the BMS entry in the /sys/class/power_supply devices, not the "real" battery. How is upowerd using this device?
BR Florian _______________________________________________ devkit-devel mailing list devkit-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/devkit-devel