Add some new battery sensors : energy_now, energy_full and power_now.

Authored by jjorge on Apr 14 2020, 2:58 PM.

Description

Add some new battery sensors : energy_now, energy_full and power_now.

Summary:
Depending on hardware, Linux kernel exports battery state in
different files. Previously only charge_now, charge_full and current_now
were available in ksysguard. With this commit all are selectable.

While we have now screens with more than 1000 pixels height,
a percentage with 100 steps will show a ladder. This commit also
make the created graphs nicer by giving 1000 steps.

Reviewers: Plasma, davidedmundson, ahiemstra

Reviewed By: ahiemstra

Subscribers: anthonyfieroni, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D28127

Details

Committed
ngrahamApr 14 2020, 2:58 PM
Reviewer
ahiemstra
Differential Revision
D28127: Add some new battery sensors : energy_now, energy_full and power_now.
Parents
R106:0c8496c96c55: bump to require Qt 5.14
Branches
Unknown
Tags
Unknown