battery icon in the panel && battery life time

Adriaan de Groot groot at kde.org
Mon Jun 24 21:11:31 BST 2019


On Monday, 24 June 2019 22:34:10 CEST Matthias Apitz wrote:
> > > In the panel there is a small battery icon. When I unplug the power, it
> > > says on mouse over '5:04 Remaining (100%)' the value is correct, more
> > > or less what the 5:04 hours regards. But, how the KDE gets to know
> > > this? The ACPI> 
> > > only says the percentage, and not the life time:
> > The information comes from powerdevil and/or Solid, You can try it from
> > the
> > command line in a Plasma session (when powerdevil is running):
> > 
> > qdbus local.org_kde_powerdevil  /org/kde/Solid/PowerManagement
> > batteryRemainingTime
> Thanks for the reply. The above command gives the remaining time in ms
> (when the battery is discharging) or 0 (when AC is attached).

Still doesn't tell you how powerdevil / solid know that information. You'll 
need to dive into the upower backend.

[ade]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20190624/356b4a01/attachment.sig>


More information about the kde-freebsd mailing list