Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    bme/hal gets stuck once battery full

    Reply
    leepen | # 1 | 2014-02-17, 17:45 | Report

    I have been having a problem with my n900 that I hope some battery gurus can help with. I am running CSSU stable.

    Once the battery gets full BME and/or hald seems to get stuck and the phone doesn't change charging state when either removing or reinserting a charging cable. This happens with either USB charging or wall charging.

    Before the battery is full the yellow notification message appear as expected. Once it has reached the full state the detection seems to be locked and software charging doesn't start when a charger is inserted although I can charge using the i2cset or the charge21.sh script.

    After a reboot everything is normal until the battery is full when the charging locks up again.

    Things I have tried to no avail:
    - reinstall hal, dbus, bme-rx-51 and hal-addon-bme
    - recalibrate battery with script from http://talk.maemo.org/showthread.php?t=65568&page=138
    - a new battery

    hal-device bme after the battery is full shows:

    udi = '/org/freedesktop/Hal/devices/bme'
    info.addons = { 'hald-addon-bme' } (string list)
    maemo.charger.type = 'host 500 mA' (string)
    maemo.charger.connection_status = 'connected' (string)
    maemo.rechargeable.charging_status = 'full' (string)
    maemo.rechargeable.positive_rate = true (bool)
    battery.present = true (bool)
    info.product = 'Battery (BME-HAL)' (string)
    info.subsystem = 'unknown' (string)
    battery.is_rechargeable = true (bool)
    info.udi = '/org/freedesktop/Hal/devices/bme' (string)
    battery.charge_level.unit = 'bars' (string)
    battery.remaining_time = 0 (0x0) (int)
    battery.type = 'pda' (string)
    battery.charge_level.percentage = 83 (0x53) (int)
    battery.charge_level.design = 8 (0x8) (int)
    battery.rechargeable.is_charging = true (bool)
    battery.rechargeable.is_discharging = true (bool)
    battery.charge_level.last_full = 8 (0x8) (int)
    battery.reporting.design = 1255 (0x4e7) (int)
    battery.reporting.last_full = 1043 (0x413) (int)
    battery.reporting.current = 1043 (0x413) (int)
    battery.voltage.unit = 'mV' (string)
    battery.voltage.design = 4200 (0x1068) (int)
    battery.voltage.current = 4186 (0x105a) (int)
    info.category = 'battery' (string)
    battery.remaining_time.calculate_per_time = false (bool)
    info.parent = '/org/freedesktop/Hal/devices/computer' (string)
    battery.charge_level.current = 8 (0x8) (int)
    battery.charge_level.capacity_state = 'full' (string)
    info.capabilities = { 'battery' } (string list)
    battery.reporting.unit = 'mAh' (string)

    I am grateful for any help with sorting this out.

    Thanks.

    Mark

    Edit | Forward | Quote | Quick Reply | Thanks

     
    leepen | # 2 | 2014-02-27, 09:50 | Report

    Just to help(?) anybody else with the same problem, I fixed this by changing to kernel-power with Pali's BME replacement.

    All is working fine again now.

    Hope that helps

    Mark

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout