Thread: BME Replacement
View Single Post
Posts: 159 | Thanked: 217 times | Joined on Oct 2011
#9
I am encountering a bug that causes the status-area-applet show constantly 50% charge. If I charge the battery full overnight and still keep the charger connected I get full battery, but the second I disconnect the charger the bar drops to 50%.

The readout of the bq27200.sh (with the -f):
Code:
home/user # bq27200.sh
LOOPMODE=0
Reading values...........................done.

CSOC: 85 % RSOC: 85 %
Average Current: 281 mA
TTF: 65535 minutes TTE: 345 minutes
NAC: 1615 mAh CACD: 1615 mAh CACT: 1615 mAh 
SI: 12 mA STTE: 7505 minutes
MLI: 1151 mA MLTTE: 82 minutes
AR: 0 mA ARTTE: 65535 minutes
Last Measured Discharge: 1889 mAh
Cycle Count since Learning: 23 Total Cycle Count since last full reset: 23
Reported Battery Voltage: 3874 mV
Battery Gauge die Temperature: 36 C
Flags:	 0x14
	 Charge:0 NOACT:0 IMIN:0 CI:1 CALIP:0 VDQ:1 EDV1:0 EDVF: 0
eeprom data:
	 ILMD=1958 EDVF=3000 EDV1=3248 ISLC=19
	 DMF=14700 nanoVolt SD=201 thousandths of percent per day
	 AGELMD=1 TAPER=97 mA
	 IMLC=979 mA
Readout of hal-device bme:
Code:
home/user # hal-device bme
udi = '/org/freedesktop/Hal/devices/bme'
  info.addons = { 'hald-addon-bme' } (string list)
  battery.type = 'pda'  (string)
  info.subsystem = 'unknown'  (string)
  info.product = 'Battery (BME-HAL)'  (string)
  battery.reporting.design = 1282  (0x502)  (int)
  info.udi = '/org/freedesktop/Hal/devices/bme'  (string)
  battery.present = true  (bool)
  battery.voltage.current = 3847  (0xf07)  (int)
  battery.reporting.unit = 'mAh'  (string)
  battery.is_rechargeable = true  (bool)
  battery.rechargeable.is_charging = false  (bool)
  battery.rechargeable.is_discharging = true  (bool)
  battery.charge_level.current = 4  (0x4)  (int)
  battery.charge_level.last_full = 0  (0x0)  (int)
  battery.charge_level.design = 8  (0x8)  (int)
  battery.charge_level.percentage = 50  (0x32)  (int)
  battery.voltage.design = 4200  (0x1068)  (int)
  battery.voltage.unit = 'mV'  (string)
  battery.charge_level.capacity_state = 'ok'  (string)
  info.category = 'battery'  (string)
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.capabilities = { 'battery' } (string list)
  battery.charge_level.unit = 'bars'  (string)
  battery.remaining_time = 0  (0x0)  (int)
  battery.remaining_time.calculate_per_time = false  (bool)
  battery.reporting.current = 641  (0x281)  (int)
  battery.reporting.last_full = 0  (0x0)  (int)
  maemo.charger.connection_status = 'disconnected'  (string)
  maemo.charger.type = 'none'  (string)
  maemo.rechargeable.charging_status = 'off'  (string)
  maemo.rechargeable.positive_rate = false  (bool)
  maemo.bme.version = '1.0'  (string)
installed versions:
Code:
home/user # dpkg -l | grep bme
ii  bme-rx-51                                           1.0-1                                      Battery Management Entity
ii  hald-addon-bme                                      1.0-1                                      hal battery addon for bme
ii  libbmeipc0                                          1.0-1                                      shared library for communication with Battery Management Entity
home/user # dpkg -l | grep battery
ii  hald-addon-bme                                      1.0-1                                      hal battery addon for bme
ii  status-area-applet-battery                          0.1.24+0m5                                 status area battery applet
Otherwise the bme seems to work normally.
 

The Following User Says Thank You to Kossuth For This Useful Post: