plasma: adjust batterymonitor applet to solid changes

there were solid enum changes and then some in this repo, see the
following commit in the kdelibs repo:
2e1544537da02c8e89bc08c59fd3d6e1d146ef8c

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-08-23 21:12:17 +03:00
parent 4584fab20b
commit 69f7efcce1

View file

@ -34,7 +34,7 @@ function updateCumulative() {
sum += b["Percent"];
plugged = true;
}
if (b["State"] != "FullyCharge") {
if (b["State"] != "FullyCharged") {
charged = false;
}
count++;