I performed a clean install of Elementary OS Freya just a couple of hours ago on a Lenovo G580 (20150) laptop (from which I'm now writing) with a brand new replacement HDD. For some reason, the battery utility detects the battery itself, but does not take readings of any kind.
So, what are my options for fixing this pesky issue?
Edit: [upower -d]
Device: /org/freedesktop/UPower/devices/line_power_ACAD native-path: ACAD power supply: yes updated: 21.07.2015 (вт) 15,31,55 EEST (1371 seconds ago) has history: no has statistics: no line-power online: yes Device: /org/freedesktop/UPower/devices/battery_BAT1 native-path: BAT1 vendor: LENOVO model: PABAS0241231 serial: 41167 power supply: yes updated: 21.07.2015 (вт) 15,54,30 EEST (16 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: charging energy: 0 Wh energy-empty: 0 Wh energy-full: 0 Wh energy-full-design: 0 Wh energy-rate: 0 W percentage: 0% capacity: 100% technology: lithium-ion Daemon: daemon-version: 0.9.23 can-suspend: no can-hibernate: no on-battery: no on-low-battery: no lid-is-closed: no lid-is-present: yes is-docked: no
Final edit: [PROBLEM SOLVED]
The problem seems to have resolved itself! For the last few days I had been running off the charger, but the battery was plugged in too. When I plugged off the charger, the laptop shut down, which led me to believe it wasn't charging the battery. I removed the battery from its slot and inserted it again. That fixed the problem (though I have no idea why), since the menu bar now displays the charge percentage and it started from 1%, meaning the battery was completely empty before. (Laptop wasn't used for a month and a half prior to these events.) I hope this helps somebody experiencing the same problem. And just a few quick tips, which I already knew, but for some reason ignored: