You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
834 B
19 lines
834 B
--- trinity-tdelibs-14.0.0~pre596+d6816283/tdecore/tdehardwaredevices.cpp.batterycharge 2013-07-07 11:55:57.000000000 +0200
|
|
+++ trinity-tdelibs-14.0.0~pre596+d6816283/tdecore/tdehardwaredevices.cpp 2013-07-08 20:21:00.196653825 +0200
|
|
@@ -4704,6 +4704,15 @@
|
|
if (nodename == "alarm") {
|
|
bdevice->internalSetAlarmEnergy(line.toDouble()/1000000.0);
|
|
}
|
|
+ if (nodename == "charge_full") {
|
|
+ bdevice->internalSetMaximumEnergy(line.toDouble()/1000000.0);
|
|
+ }
|
|
+ if (nodename == "charge_full_design") {
|
|
+ bdevice->internalSetMaximumDesignEnergy(line.toDouble()/1000000.0);
|
|
+ }
|
|
+ if (nodename == "charge_now") {
|
|
+ bdevice->internalSetEnergy(line.toDouble()/1000000.0);
|
|
+ }
|
|
if (nodename == "energy_full") {
|
|
bdevice->internalSetMaximumEnergy(line.toDouble()/1000000.0);
|
|
}
|