summaryrefslogtreecommitdiffstats
path: root/src/hardware_battery.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-07-14 19:31:37 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2013-07-14 19:31:37 -0500
commit933e53832eeb45c6f660dcf46bed5dc68aaf24c2 (patch)
tree532a8a0d9b144be6e26b587904578cd3253a126f /src/hardware_battery.cpp
parente49bd16b78beb8f75a079916b6d4e8d2ce457c58 (diff)
downloadtdepowersave-933e53832eeb45c6f660dcf46bed5dc68aaf24c2.tar.gz
tdepowersave-933e53832eeb45c6f660dcf46bed5dc68aaf24c2.zip
Update references from kpowersave to tdepowersave.
Diffstat (limited to 'src/hardware_battery.cpp')
-rw-r--r--src/hardware_battery.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/hardware_battery.cpp b/src/hardware_battery.cpp
index ee9f0b9..8ae333d 100644
--- a/src/hardware_battery.cpp
+++ b/src/hardware_battery.cpp
@@ -418,7 +418,7 @@ bool Battery::checkChargeLevelCurrent () {
}
// FIXME VERIFY CORRECTNESS
- // what does kpowersave expect to see in charge_level_current (battery.charge_level.current)?
+ // what does tdepowersave expect to see in charge_level_current (battery.charge_level.current)?
charge_level_current = bdevice->energy();
if (charge_level_current < 0) {
//overflow?
@@ -455,7 +455,7 @@ bool Battery::checkChargeLevelLastfull () {
}
// FIXME VERIFY CORRECTNESS
- // what does kpowersave expect to see in charge_level_lastfull (battery.charge_level.last_full)?
+ // what does tdepowersave expect to see in charge_level_lastfull (battery.charge_level.last_full)?
charge_level_lastfull = bdevice->maximumEnergy();
if (charge_level_lastfull < charge_level_current ) {
//possible overflow?
@@ -493,7 +493,7 @@ bool Battery::checkChargeLevelRate () {
int _rate = present_rate;
// FIXME VERIFY CORRECTNESS
- // what does kpowersave expect to see in present_rate (battery.charge_level.rate)?
+ // what does tdepowersave expect to see in present_rate (battery.charge_level.rate)?
present_rate = bdevice->dischargeRate();
if (present_rate < 0 )
present_rate = 0;
@@ -532,7 +532,7 @@ bool Battery::checkChargeLevelUnit () {
}
// FIXME VERIFY CORRECTNESS
- // what does kpowersave expect to see in charge_level_unit (battery.charge_level.unit)?
+ // what does tdepowersave expect to see in charge_level_unit (battery.charge_level.unit)?
charge_level_unit = "wH";
//query was not successfull but this is optional
kdWarning() << "Couldn't request charge_level.unit for udi: " << udi << endl;
@@ -566,7 +566,7 @@ bool Battery::checkChargeLevelDesign () {
}
// FIXME VERIFY CORRECTNESS
- // what does kpowersave expect to see in design_capacity (battery.charge_level.last_full)?
+ // what does tdepowersave expect to see in design_capacity (battery.charge_level.last_full)?
design_capacity = bdevice->maximumDesignEnergy();
if (design_capacity < 0) {
design_capacity = 0;