Reply
Thread Tools
Posts: 250 | Thanked: 126 times | Joined on Dec 2010
#171
Hi I have same probleme. Here is my output:


BusyBox v1.21.0 (Debian 1.21.0power2+thumb1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ hal-device bme
udi = '/org/freedesktop/Hal/devices/bme'
info.addons = { 'hald-addon-bme' } (string list)
battery.type = 'pda' (string)
info.subsystem = 'unknown' (string)
battery.voltage.design = 4200 (0x1068) (int)
info.product = 'Battery (BME-HAL)' (string)
info.udi = '/org/freedesktop/Hal/devices/bme' (string)
battery.reporting.unit = 'mAh' (string)
battery.present = true (bool)
battery.voltage.current = 3901 (0xf3d) (int)
battery.charge_level.current = 6 (0x6) (int)
battery.charge_level.last_full = 0 (0x0) (int)
battery.reporting.design = 1284 (0x504) (int)
battery.charge_level.design = 8 (0x8) (int)
battery.charge_level.percentage = 66 (0x42) (int)
maemo.charger.type = 'none' (string)
maemo.charger.connection_status = 'disconnected' (string)
maemo.rechargeable.charging_status = 'off' (string)
maemo.rechargeable.positive_rate = false (bool)
battery.remaining_time = 10800 (0x2a30) (int)
battery.charge_level.capacity_state = 'ok' (string)
battery.charge_level.unit = 'bars' (string)
battery.rechargeable.is_charging = false (bool)
battery.rechargeable.is_discharging = true (bool)
battery.reporting.last_full = 0 (0x0) (int)
info.category = 'battery' (string)
battery.reporting.current = 849 (0x351) (int)
battery.remaining_time.calculate_per_time = false (bool)
info.parent = '/org/freedesktop/Hal/devices/computer' (string)
info.capabilities = { 'battery' } (string list)
battery.is_rechargeable = true (bool)
battery.voltage.unit = 'mV' (string)
 

The Following User Says Thank You to guilledoc For This Useful Post:
panjgoori's Avatar
Posts: 1,239 | Thanked: 1,278 times | Joined on Aug 2011 @ Balochistan
#172
Originally Posted by pali View Post
@panjgoori: Do you have bme replacement or normal bme?
im using normal bme (i think). i haven't installed anything except your battery applet. and i have CSSU-devel repo disabled.

Here is the output of hal-device bme

Code:
$ hal-device bme
udi = '/org/freedesktop/Hal/devices/bme'
  info.addons = { 'hald-addon-bme' } (string list)
  battery.type = 'pda'  (string)
  battery.voltage.design = 4200  (0x1068)  (int)
  battery.voltage.unit = 'mV'  (string)
  battery.reporting.design = 1403  (0x57b)  (int)
  battery.reporting.unit = 'mAh'  (string)
  info.product = 'Battery (BME-HAL)'  (string)
  info.udi = '/org/freedesktop/Hal/devices/bme'  (string)
  info.subsystem = 'unknown'  (string)
  battery.present = true  (bool)
  battery.charge_level.design = 8  (0x8)  (int)
  battery.charge_level.current = 4  (0x4)  (int)
  battery.charge_level.percentage = 35  (0x23)  (int)
  maemo.charger.connection_status = 'disconnected'  (string)
  maemo.charger.type = 'none'  (string)
  battery.charge_level.last_full = 0  (0x0)  (int)
  maemo.rechargeable.charging_status = 'off'  (string)
  maemo.rechargeable.positive_rate = false  (bool)
  battery.charge_level.unit = 'bars'  (string)
  battery.rechargeable.is_charging = false  (bool)
  battery.rechargeable.is_discharging = true  (bool)
  info.category = 'battery'  (string)
  battery.reporting.last_full = 0  (0x0)  (int)
  battery.remaining_time.calculate_per_time = false  (bool)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  battery.reporting.current = 501  (0x1f5)  (int)
  battery.remaining_time = 7200  (0x1c20)  (int)
  battery.charge_level.capacity_state = 'ok'  (string)
  battery.voltage.current = 3880  (0xf28)  (int)
  info.capabilities = { 'battery' } (string list)
  battery.is_rechargeable = true  (bool)
i restarted my phone 2 times and it showed percentage correct but now its showing ''No data or battery is not calibrate'' under percentage.
 

The Following User Says Thank You to panjgoori For This Useful Post:
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#173
Originally Posted by guilledoc View Post
battery.charge_level.last_full = 0 (0x0) (int)
battery.reporting.last_full = 0 (0x0) (int)
Problem found. BME does not reporting last full mAh capacity. Going to fix battery applet to not use this property if is 0.
 

The Following 2 Users Say Thank You to pali For This Useful Post:
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#174
@panjgoori, @guilledoc: Can you try to use new battery applet?

EDIT: package is in cssu-devel.

Last edited by pali; 2013-05-09 at 18:23.
 
panjgoori's Avatar
Posts: 1,239 | Thanked: 1,278 times | Joined on Aug 2011 @ Balochistan
#175
Originally Posted by pali View Post
@panjgoori, @guilledoc: Can you try to use new battery applet?

http://atrey.karlin.mff.cuni.cz/~pal...let-battery.so
yes i can try it. Do i have to move status-area-applet-battery.so to somewhere ? sorry for the noob question .
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#176
store it to /usr/lib/hildon-desktop
 

The Following User Says Thank You to pali For This Useful Post:
Posts: 126 | Thanked: 160 times | Joined on Aug 2012
#177
Now I went back to version 1.0-4

~ $ hal-device bme
udi = '/org/freedesktop/Hal/devices/bme'
info.addons = { 'hald-addon-bme' } (string list)
battery.type = 'pda' (string)
battery.voltage.design = 4200 (0x1068) (int)
battery.voltage.unit = 'mV' (string)
battery.reporting.design = 1261 (0x4ed) (int)
battery.reporting.unit = 'mAh' (string)
info.product = 'Battery (BME-HAL)' (string)
battery.voltage.current = 4031 (0xfbf) (int)
info.subsystem = 'unknown' (string)
battery.present = true (bool)
battery.charge_level.design = 8 (0x8) (int)
battery.charge_level.current = 8 (0x8) (int)
battery.charge_level.last_full = 0 (0x0) (int)
maemo.charger.connection_status = 'disconnected' (string)
info.udi = '/org/freedesktop/Hal/devices/bme' (string)
maemo.rechargeable.positive_rate = false (bool)
maemo.rechargeable.charging_status = 'off' (string)
maemo.charger.type = 'none' (string)
battery.is_rechargeable = true (bool)
battery.rechargeable.is_charging = false (bool)
battery.rechargeable.is_discharging = true (bool)
battery.reporting.last_full = 0 (0x0) (int)
info.category = 'battery' (string)
battery.remaining_time.calculate_per_time = false (bool)
info.parent = '/org/freedesktop/Hal/devices/computer' (string)
battery.reporting.current = 1011 (0x3f3) (int)
battery.remaining_time = 14400 (0x3840) (int)
battery.charge_level.capacity_state = 'ok' (string)
battery.charge_level.unit = 'bars' (string)
info.capabilities = { 'battery' } (string list)
battery.charge_level.percentage = 80 (0x50) (int)
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#178
output is of course same (= similar) because comes from BME not applet. applet using these data...
 
panjgoori's Avatar
Posts: 1,239 | Thanked: 1,278 times | Joined on Aug 2011 @ Balochistan
#179
now battery applet is working without any problem. seems like status-area-battery-applet.so was causing problems. Image attached.
Attached Images
 
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#180
@panjgoori: ok, I will push this new version of applet to cssu-devel.

@pinochio, @guilledoc: can you confirm that above version fixing this problem?
 
Reply

Tags
easter egg, lockslider


 
Forum Jump


All times are GMT. The time now is 00:52.