← Back to team overview

registry team mailing list archive

[Bug 629258] Re: Battery life estimation never comes around

 

No, there is no current_now.  Sorry, I should have mentioned that I am
using natty currently and thus am in the wrong place to report the bug.
Anyway, I get

ls /sys/class/power_supply/BAT0/
alarm        energy_full_design  power          status      uevent
cycle_count  energy_now          power_now      subsystem   voltage_min_design
device       manufacturer        present        technology  voltage_now
energy_full  model_name          serial_number  type

So there is "power_now" and "energy_now", and "power_now" seems to carry
the right values.  If I take a look at the strings in
/usr/lib/upower/upowerd however, it would rather appear that upowerd is
instead looking for "charge_now".

So it would seem that we have a discrepancy between the kernel file
name, and what upowerd is looking for.

I have no idea what the discrepancy (if any) in Maverick would be.

Looks like I am going to patch the upowerd binary as a first measure.

-- 
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for gnome-power.
https://bugs.launchpad.net/bugs/629258

Title:
  Battery life estimation never comes around