A few days ago I restarted my Librem 14 and when it booted back up, the battery icon showed a red X in KDE plasma. Hovering over it displayed the message “no batteries available”. Listing the files in /sys/class/power_supply shows only AC when it used to show BAT0 as well. Since then I have tried looking at online solutions, reinstalled PureOS, and switched to a different Debian based distro (for more reasons that just trying to troubleshoot this). Any help is much appreciated.
upower:
tomsi@Grimoire:~$ upower -d
Device: /org/freedesktop/UPower/devices/line_power_AC
native-path: AC
power supply: yes
updated: Fri 16 Sep 2022 07:35:29 PM MDT (357 seconds ago)
has history: no
has statistics: no
line-power
warning-level: none
online: yes
icon-name: ‘ac-adapter-symbolic’
Device: /org/freedesktop/UPower/devices/DisplayDevice
power supply: no
updated: Fri 16 Sep 2022 07:29:34 PM MDT (712 seconds ago)
has history: no
has statistics: no
unknown
warning-level: none
icon-name: ‘battery-missing-symbolic’
Daemon:
daemon-version: 0.99.11
on-battery: no
lid-is-closed: no
lid-is-present: yes
critical-action: HybridSleep
tomsi@Grimoire:~$
I am having exactly the same issue on my brand new Librem 14. Re-seating the battery did not help. Anything else I can try to fix this problem?
Thanks,
/sys/class/power_supply$ ls
AC
–
$ upower -d
Device: /org/freedesktop/UPower/devices/line_power_AC
native-path: AC
power supply: yes
updated: Tue 12 Dec 2023 12:31:30 PM PST (424 seconds ago)
has history: no
has statistics: no
line-power
warning-level: none
online: yes
icon-name: ‘ac-adapter-symbolic’
Device: /org/freedesktop/UPower/devices/DisplayDevice
power supply: no
updated: Tue 12 Dec 2023 12:31:30 PM PST (424 seconds ago)
has history: no
has statistics: no
unknown
warning-level: none
icon-name: ‘battery-missing-symbolic’
Daemon:
daemon-version: 0.99.11
on-battery: no
lid-is-closed: no
lid-is-present: yes
critical-action: PowerOff
Basically, take it out and put it back in again i.e. to make sure that it is making correct electrical contact with the thing that it is supposed to connect to.
I received my librem14 some time ago but until yesterday I do not unpacked it. It works with the power supply connected but not without it. There is not BAT0 in /sys/class/power_supply like the first post of the thread and the same upower -d output but critical-action: PowerOff.
I tried to unplug and plug again the battery without success.
I will try to reproduce it with a Live Boot.
How I can know boot firmware type and version? Also how I can know if it is up to date? And also for the EC?
The url to download the purism_ectool should be https://source.puri.sm/firmware/releases/-/raw/master/tools/purism_ectool.gz (Note raw instead blob) and an additional chmod +x purism_ectool should be done after decompress it.