View Single Post
Posts: 268 | Thanked: 1,053 times | Joined on May 2010 @ The Netherlands
#245
Originally Posted by pali View Post
Yes, rx51_battery module is used for reporting battery temperature to pulseaudio and dsme. If tou unload it both daemons can stop working (no idea what closed source nokia pulseaudio module doing with temperature)...



Yes, recent version of battery applet understand gconf key which can be used for source of design capacity. Look at git commit message for possible values: https://gitorious.org/community-ssu/...ebf53fb6d11a12
Yeah, I found that gconf key and set it to 0 (never use design). Unfortunately, whatever I set it to, the max charge remains at 1272mAh .

Here's a diff of my "hal-device bme" output, with rx51-battery module loaded versus without. As soon as I unload the module battery.reporting.last_full will be correct (though other values get lost, supposedly because these come from rx51-battery).
Code:
--- hal-device-with-rx51-battery
+++ hal-device-without-rx51-battery
@@ -3,7 +3,7 @@
   battery.type = 'pda'  (string)
   info.subsystem = 'unknown'  (string)
   info.product = 'Battery (BME-HAL)'  (string)
-  battery.reporting.design = 1277  (0x4fd)  (int)
+  battery.reporting.design = 0  (0x0)  (int)
   battery.reporting.unit = 'mAh'  (string)
   battery.charge_level.unit = 'bars'  (string)
   maemo.charger.connection_status = 'disconnected'  (string)
@@ -12,20 +12,20 @@
   maemo.rechargeable.positive_rate = false  (bool)
   battery.rechargeable.is_charging = false  (bool)
   battery.is_rechargeable = true  (bool)
-  battery.reporting.last_full = 1277  (0x4fd)  (int)
+  battery.reporting.last_full = 1564  (0x61c)  (int)
   battery.charge_level.capacity_state = 'ok'  (string)
-  battery.reporting.current = 1477  (0x5c5)  (int)
+  battery.reporting.current = 1479  (0x5c7)  (int)
   battery.present = true  (bool)
   battery.rechargeable.is_discharging = true  (bool)
-  battery.charge_level.percentage = 100  (0x64)  (int)
-  battery.remaining_time = 34260  (0x85d4)  (int)
-  battery.voltage.design = 4200  (0x1068)  (int)
+  battery.charge_level.percentage = 94  (0x5e)  (int)
+  battery.remaining_time = 27000  (0x6978)  (int)
+  battery.voltage.design = 0  (0x0)  (int)
   battery.voltage.unit = 'mV'  (string)
   info.category = 'battery'  (string)
   info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
   info.udi = '/org/freedesktop/Hal/devices/bme'  (string)
   battery.charge_level.design = 8  (0x8)  (int)
-  battery.voltage.current = 4029  (0xfbd)  (int)
+  battery.voltage.current = 4069  (0xfe5)  (int)
   battery.charge_level.current = 8  (0x8)  (int)
   info.capabilities = { 'battery' } (string list)
   maemo.bme.version = '1.0'  (string)
 

The Following 5 Users Say Thank You to iDont For This Useful Post: