My battery information has been disappearing and reappearing for about a month now. I thought maybe I missed some important package with my custom build so I recently reinstalled Manjora i3 (partly in hopes of fixing this problem) and this morning my
i3status states "No battery." I checked for updates and there were quite a few. I restarted the laptop after I ran those updates. Still no battery staus.
[3953(sir)/home/sir] upower -e /org/freedesktop/UPower/devices/line_power_ADP1 /org/freedesktop/UPower/devices/DisplayDevice [3953(sir)/home/sir] upower -i /org/freedesktop/UPower/devices/line_power_ADP1 native-path: ADP1 power supply: yes updated: Sun 14 Jan 2018 03:54:37 PM EST (1107 seconds ago) has history: no has statistics: no line-power warning-level: none online: no icon-name: 'ac-adapter-symbolic' [3953(sir)/home/sir] upower -i /org/freedesktop/UPower/devices/DisplayDevice power supply: no updated: Sun 14 Jan 2018 03:54:37 PM EST (1112 seconds ago) has history: no has statistics: no unknown warning-level: none icon-name: 'battery-missing-symbolic' [3953(sir)/home/sir] acpi [3953(sir)/home/sir] screenfetch ██████████████████ ████████ sir@3953 ██████████████████ ████████ OS: Manjaro 17.1.1 Hakoila ██████████████████ ████████ Kernel: x86_64 Linux 4.9.68-1-rt60-MANJARO ██████████████████ ████████ Uptime: 26m ████████ ████████ Packages: 917 ████████ ████████ ████████ Shell: zsh 5.4.2 ████████ ████████ ████████ Resolution: 1280x800 ████████ ████████ ████████ WM: i3 ████████ ████████ ████████ GTK Theme: Adapta-Nokto-Eta-Maia [GTK2/3] ████████ ████████ ████████ Icon Theme: Vibrancy-Full-Dark-Teal ████████ ████████ ████████ Font: Fantasque Sans Mono 10 ████████ ████████ ████████ CPU: Intel Core i5-2415M @ 4x 2.9GHz [69.0°C] ████████ ████████ ████████ GPU: Mesa DRI Intel(R) Sandybridge Mobile ████████ ████████ ████████ RAM: 709MiB / 7899MiB
I am on an MacBook Pro, 13-inch, early 2011. I don't know if
upower.service have anything to do with
i3status being unable to find my battery, but they have both been enabled and started (
acpi.service shows as inactive).
Edit: For what it's worth, I am dual-booting macOS on this same machine, no problems with finding or reading the battery on High Sierra.
Edit: Also, it appears that
xfce4-power-manager has stopped working. The laptop no longer suspends when the lid is closed. And if I run
systemd suspend the system is only suspended for about 4 seconds, then everything wakes back up. I'm guessing these two are related (if not I can remove this create a new question).
Edit: I booted up SparkyLinux, a Debian based distro, using a liveCD, and
acpi returned the expected information.
$ acpi -i Battery 0: Full, 97% Battery 0: design capacity 5770 mAH, last full capacity 5031 mAH=87% $ acpi -b Battery 0: Discharging, 95%, 03:54:47 remaining.
I booted into ArchLabs, and
acpi pulled all of the same information as it did on Sparky, only it listed the discharging time as 4+ hours. I booted back into Manjaro and i3status still reads "No battery."
Edit: Clarification of my question: Where is my battery's information and how do I get my Manjora i3 (via
acpi) to locate and display said information?