Active Topics

 


Reply
Thread Tools
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#1
Am testing Pali's bme replacement. Does the job, led's flashing etc. The only thing is that the led never goes green and the status area icon keeps pulsing. Battery has good charge by then, and is perhaps full by any standard.

Have read k-p threads where bme replacement is mentioned. Rather than posting reams of perhaps wrong output here (e.g. hal-device bme), I would be gratfeul if Pali could specify what he might need. Or is no green led normal?

Thanks.

Last edited by handaxe; 2013-05-17 at 22:10.
 

The Following 4 Users Say Thank You to handaxe For This Useful Post:
Posts: 1,994 | Thanked: 3,342 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#2
Bumping the thread...
Best wishes. Thank you.
_________________
Per aspera ad astra...
 

The Following 2 Users Say Thank You to Wikiwide For This Useful Post:
Raimu's Avatar
Posts: 139 | Thanked: 181 times | Joined on Nov 2011 @ Oulu, Finland
#3
Methinks BME-replacement does need its own thread.
 

The Following 2 Users Say Thank You to Raimu For This Useful Post:
Posts: 1,994 | Thanked: 3,342 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#4
Bumping the thread...
Best wishes. How are you?
_________________
Per aspera ad astra...
 

The Following User Says Thank You to Wikiwide For This Useful Post:
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#5
Originally Posted by handaxe View Post
The only thing is that the led never goes green and the status area icon keeps pulsing.
How sad, I must correct myself. I got a green led during the last charge. Thing is, this time I forgot the phone and hours later there it was green.

It appears that "bme replacement" has a different charging "profile" to "bme stock" and takes longer to produce the green. I use "bnf" and am content frankly at anything 95% or so. Less of course is better for the battery.
 

The Following User Says Thank You to handaxe For This Useful Post:
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#6
Further testing. Rebooted with wall-charger attached. Booted up properly. Connected wireless and ran sshd. Connected as root via ssh.

Code:
hal-device bme
Code:
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 = 1297  (0x511)  (int)
  info.udi = '/org/freedesktop/Hal/devices/bme'  (string)
  battery.present = true  (bool)
  battery.voltage.current = 4082  (0xff2)  (int)
  battery.reporting.unit = 'mAh'  (string)
  battery.is_rechargeable = true  (bool)
  battery.rechargeable.is_charging = true  (bool)
  battery.rechargeable.is_discharging = false  (bool)
  battery.reporting.current = 1307  (0x51b)  (int)
  battery.reporting.last_full = 1297  (0x511)  (int)
  battery.charge_level.current = 8  (0x8)  (int)
  battery.charge_level.last_full = 8  (0x8)  (int)
  battery.charge_level.design = 8  (0x8)  (int)
  battery.charge_level.percentage = 100  (0x64)  (int)
  battery.remaining_time = 2400  (0x960)  (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.calculate_per_time = false  (bool)
  maemo.charger.connection_status = 'connected'  (string)
  maemo.charger.type = 'wall charger'  (string)
  maemo.rechargeable.charging_status = 'on'  (string)
  maemo.rechargeable.positive_rate = true  (bool)
  maemo.bme.version = '1.0'  (string)
Disconnected wall-charger and then reconnected. Received message that device drawing more power than being provided. Via ssh ran
Code:
hal-device bme
:
Code:
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 = 1297  (0x511)  (int)
  info.udi = '/org/freedesktop/Hal/devices/bme'  (string)
  battery.present = true  (bool)
  battery.voltage.current = 3923  (0xf53)  (int)
  battery.reporting.unit = 'mAh'  (string)
  battery.is_rechargeable = true  (bool)
  battery.rechargeable.is_charging = false  (bool)
  battery.rechargeable.is_discharging = true  (bool)
  battery.reporting.current = 1318  (0x526)  (int)
  battery.reporting.last_full = 1297  (0x511)  (int)
  battery.charge_level.current = 8  (0x8)  (int)
  battery.charge_level.last_full = 8  (0x8)  (int)
  battery.charge_level.design = 8  (0x8)  (int)
  battery.charge_level.percentage = 100  (0x64)  (int)
  battery.remaining_time = 33900  (0x846c)  (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.calculate_per_time = false  (bool)
  maemo.charger.connection_status = 'connected'  (string)
  maemo.charger.type = 'host 500 mA'  (string)
  maemo.rechargeable.charging_status = 'error'  (string)
  maemo.rechargeable.positive_rate = false  (bool)
  maemo.bme.version = '1.0'  (string)
Detecting wrong charger type. That may explain the differing charging profiles.
 

The Following 4 Users Say Thank You to handaxe For This Useful Post:
tangent's Avatar
Posts: 87 | Thanked: 124 times | Joined on Apr 2012 @ Finland
#7
How to revert back to stock bme?
__________________

Jolla Phone 16GB (2nd in use).
Jolla Tablet 64GB (repaired).

3D modelling & printing.
CAD/CAM amateur.
Prusa i3 3D printer (Max Micron)
"Smith: Mr. Anderson, welcome back.
We missed you ."

 

The Following User Says Thank You to tangent For This Useful Post:
Posts: 126 | Thanked: 160 times | Joined on Aug 2012
#8
I have a similar problem, but my cell phone had some circuit in the device. The cell I bouht was used and was defected. Previously, I had problems with restarts after shutdown, then with running it properly.
I installed these four packages and after a reboot my cell indicates the charging procces by the status area and by pulsing of the yellow LED.
After charging the battery and disconnecting the charger it still shows me loading and the LED stays constantly green.
When the cell is switched off, the device receives 0.35A (350mA) from battery.

Nokia-N900:~# 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)
info.udi = '/org/freedesktop/Hal/devices/bme' (string)
battery.reporting.unit = 'mAh' (string)
battery.present = true (bool)
battery.voltage.current = 4058 (0xfda) (int)
battery.is_rechargeable = true (bool)
battery.rechargeable.is_charging = true (bool)
battery.rechargeable.is_discharging = true (bool)
battery.reporting.current = 1388 (0x56c) (int)
battery.reporting.last_full = 1277 (0x4fd) (int)
battery.charge_level.current = 8 (0x8) (int)
battery.charge_level.last_full = 8 (0x8) (int)
battery.charge_level.design = 8 (0x8) (int)
battery.charge_level.percentage = 100 (0x64) (int)
battery.voltage.design = 4200 (0x1068) (int)
battery.charge_level.capacity_state = 'full' (string) - ?
battery.voltage.unit = 'mV' (string)
battery.charge_level.unit = 'bars' (string)
info.category = 'battery' (string)
info.parent = '/org/freedesktop/Hal/devices/computer' (string)
info.capabilities = { 'battery' } (string list)
battery.reporting.design = 1277 (0x4fd) (int)
battery.remaining_time = 51480 (0xc918) (int)
battery.remaining_time.calculate_per_time = false (bool)
maemo.charger.connection_status = 'connected' (string) - ?
maemo.charger.type = 'host 500 mA' (string) - ?
maemo.rechargeable.charging_status = 'full' (string) - ?
maemo.rechargeable.positive_rate = true (bool)
maemo.bme.version = '1.0' (string)
What's the problem?
Can this be checked diagnostically?

Last edited by pinochio; 2013-10-24 at 18:24.
 

The Following User Says Thank You to pinochio For This Useful 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:
Posts: 126 | Thanked: 160 times | Joined on Aug 2012
#10
You can downgroad it to stock bme version:
Code:
apt-get install bme-rx-51=0.8.55+0m5

Last edited by pinochio; 2013-10-24 at 20:08.
 

The Following 3 Users Say Thank You to pinochio For This Useful Post:
Reply

Tags
bme replacement, nokia n900


 
Forum Jump


All times are GMT. The time now is 03:45.