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]

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to