While gema's issue (which was dealing with raw sysfs read data) is gone with this patch, I suspect your issue might well be related to upower.
Did you try with the second patch as well? The "Provide energy measurement" ? A quick skim through the relevant upower code would indicate that it does try to use the "energy_now" node when present, which may change the behaviour you see.
While gema's issue (which was dealing with raw sysfs read data) is gone with this patch, I suspect your issue might well be related to upower.
Did you try with the second patch as well? The "Provide energy measurement" ? A quick skim through the relevant upower code would indicate that it does try to use the "energy_now" node when present, which may change the behaviour you see.
Cheers,
Alex