Commit graph

7 commits

Author SHA1 Message Date
Ivailo Monev
13490a1a02 plasma: use the theme battery icon in batterymonitor applet, if available
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-03 06:43:55 +03:00
Ivailo Monev
63bd660c21 plasma: validate the active battery when restoring it in batterymonitor applet
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-03 05:04:43 +03:00
Ivailo Monev
1c9ce16bb2 plasma: save and restore the active battery of batterymonitor applet
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-03 03:06:13 +03:00
Ivailo Monev
b2ae704740 plasma: delay initial batterymonitor applet layout setup
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-03 02:17:33 +03:00
Ivailo Monev
148a3f836a plasma: set the batterymonitor applet preferred widget icon size to one suitable for panel
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-02 22:49:45 +03:00
Ivailo Monev
ae8f7c65eb plasma: mark the batterymonitor applet as requiring attention when the battery is low and discharging
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-02 22:27:43 +03:00
Ivailo Monev
689e15e40b plasma: reimplement battery applet
now with separate options for screen and sleep power management
suppression as well as being able to select which battery to show
information (including icon) for in the tray:
https://ibb.co/DDC01rh

the battery icon is questionably bigger than it should be, have to test
it with battery that is recognizable still (PS3 controller battery
provides only capacity and status info)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-09-02 22:18:05 +03:00