#231 Battery monitor shows inaccurate time

lxpanel (272)

This is an Acer Aspire One with a 6 cells battery.

The monitor shows right now 97% with 6:18 remaining, what it's not correct.

$ cat /proc/acpi/battery/BAT1/state
present: yes
capacity state: ok
charging state: discharging
present rate: 759 mA
remaining capacity: 6455 mAh
present voltage: 12196 mV

$ cat /proc/acpi/battery/BAT1/info
present: yes
design capacity: 7200 mAh
last full capacity: 6610 mAh
battery technology: rechargeable
design voltage: 11100 mV
design capacity warning: 300 mAh
design capacity low: 264 mAh
capacity granularity 1: 32 mAh
capacity granularity 2: 32 mAh
model number: UM08A73
serial number: 096D
battery type: LION

Please, don't hesitate to contact me for extra info. Thanks!


  • ReemZ

    ReemZ - 2012-01-12

    Hardware: Toshiba Satellite L550-203
    Distro: Sabayon Linux x86_64
    Version of package: lxpanel-0.5.8-r1 (which fixes the always-showing-100%-charge bug btw)

    $ cat /proc/acpi/battery/BAT1/info
    present: yes
    design capacity: 4400 mAh
    last full capacity: 3961 mAh
    battery technology: rechargeable
    design voltage: 11100 mV
    design capacity warning: 390 mAh
    design capacity low: 117 mAh
    cycle count: 0
    capacity granularity 1: 264 mAh
    capacity granularity 2: 3780 mAh
    model number: PA3534U-1BRS
    serial number: 41167
    battery type: Li-Ion
    OEM info: TOSHIBA

    $ cat /proc/acpi/battery/BAT1/state
    present: yes
    capacity state: ok
    charging state: discharging
    present rate: 0 mA
    remaining capacity: 2098 mAh
    present voltage: 11301 mV

    I've got the same problem: time left is always shown as 0:00, which I suspect to be the reason why the Battery Monitor doesn't alert me when there's 5 minutes left as per the settings. Alerts work properly in another desktop environment.
    This setting is only available through right-clicking the panel, then clicking "Add/Remove Panel Items", then finding Battery Monitor in the list and clicking Edit, it doesn't show when right-clicking the Battery Monitor itself and clicking "Battery Monitor Settings".

    1. change the setting from remaining time to remaining charge percentage
    2. make the setting available in Battery Monitor Settings

  • Lonely Stranger

    Lonely Stranger - 2014-11-18
    • status: open --> pending
    • Group: -->
  • Lonely Stranger

    Lonely Stranger - 2014-11-18

    I would like if anyone could tell me if this issue is fixed or not. Since there were some corrections, this should be hopefully fixed now, and if that is true then let close this issue, otherwise some more data is required to finally fix it. Thank you in advance.

  • ReemZ

    ReemZ - 2014-11-19

    Oh wow, someone's still alive here? I kinda assumed LXDE was dead as I never got any updates to this bug or my forum post anymore :p

    I've not used LXDE in a while so really can't tell you if the problem is still there. Also I've not used Sabayon for a while (laptop's running Arch atm) but I'll see if either SL or Arch (still) have it in their repos and if so test.
    Just not right now if you don't mind, it's 2am here...

  • Lonely Stranger

    Lonely Stranger - 2014-11-19

    Yes, alive, and LXDE isn't dead, even if we have not so many developers now. :)
    Now that PCManFM is decent enough, that's time for LXPanel to become one of the best panels around (as it should be, of course). :)

    Arch has GIT version of LXPanel in AUR as lxpanel-git.

    Thank you very much!

    • jcsl

      jcsl - 2014-11-19


      FWIW, I'm using 0.7.2 and have added both the lxpanel-plugin-power-manager and LXPanel's battery plug-in and they're showing the same info. Well, there is a minimal difference of about 1 minute in the remaining time for the battery to be fully loaded (it is charging now). Charge levels (current, full and theoretical) also differ, but they're measured in different units (Wh vs mAh)

      I don't know if you're aware of this, but some devices with Smart Battery enabled don't show the remaining battery time correctly after some charge/discharge cycles. They must be emptied and then loaded completely (disabling Smart Battery) to recalibrate the gauge.

      If you need more info just tell me. I will monitor the discharge time in the meantime (I always use it plugged)



Log in to post a comment.