Well, here go 3 more patches.... 1 for upower, 2 for the kernel. The upower one just fixes a logic bug that will allow the design capacity to be read via charge, even though the current energy is read directly as energy.
The kernel patches are: 1) Fix a bug in a previous patch - even though the datasheet says that energy_now is in units of 10 mWh, it turns out it isn't - it is in units of mWh. 2) Add charge_full and charge_full_design nodes. With these patches, upower seems to report the right percentage, time to empty, etc. Would appreciate some testing from someone suffering from the problem. Remember to apply all the patches (the upower one, these two kernel ones, and depending on which kernel you are running, also the patches that add the current_now and energy_now fields - although those are committed already). Cheers, Alex PS: launchpad only supports one attachment per comment, it seems, so the rest are in separate comments. ** Patch added: "0001-linux-device-supply-Fix-logic-error-in-coldplug.patch" https://bugs.launchpad.net/ubuntu-nexus7/+bug/1093543/+attachment/3508102/+files/0001-linux-device-supply-Fix-logic-error-in-coldplug.patch -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to upower in Ubuntu. https://bugs.launchpad.net/bugs/1093543 Title: Battery status behaves erratically Status in Ubuntu on the Nexus 7: New Status in “linux-nexus7” package in Ubuntu: Fix Released Status in “upower” package in Ubuntu: Confirmed Bug description: I've recently updated my nexus and I've noticed that the battery system behaves very erratically. It will say that the battery is at 43%, 1 hour left, then say it is low with 43% and 1 minute left. At some points it says the battery is critical and shuts down the screen, only to re-awake soon after saying that the battery is simply low. The percentage seems to remain constant, however the time left changes. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-nexus7/+bug/1093543/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp