I just freshly installed openSUSE Leap KDE on a lenovo X390 with windows 11 previously installed.
My problem is that my battery is not recognized at all.
If I unplug the laptop from power, it shuts off immediately.
upower -d does not list any batteries.
There are some options regarding battery, like power schemes and stuff, but I cannot see battery status.
Could not update my bios, the setup says that no battery is installed.
When you start/reboot (without connected power supply) will you reach the GRUB menu and if so can you stay in the GRUB menu or will the machine not start at all or shut down while in the GRUB menu?
Did you check whether your battery is connected to the motherboard correctly ( e.g. no loose plug)?
Could not update my bios, the setup says that no battery is installed.
I asked to reset your bios, not to update. Resetting is by removing the cmos battery and putting it back. Some laptops have a particular button which you can access with a paper clip.
Hi, thank you so far. After a bios reset, the battery seems to be detected and I can now run the laptop unplugged.
On problem still remains though, in KDE task bar it still says âNo Batteries availableâ. I cannot get a battery status in the task bar.
This is the new output of dmesg:
[ 12.139506] ACPI: battery: Slot [BAT0] (battery present)
[ 27.452416] thinkpad_acpi: battery 1 registered (start 0, stop 100, behaviours: 0x7)
[ 27.452425] ACPI: battery: new extension: ThinkPad Battery Extension
I reinstalled upower, which also now has an entry:
Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
power supply: yes
updated: Wed 24 Jul 2024 06:42:48 PM CEST (43 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: charging
warning-level: none
energy: 0 Wh
energy-empty: 0 Wh
energy-full: 0 Wh
energy-full-design: 0 Wh
energy-rate: 0 W
charge-cycles: N/A
percentage: 0%
capacity: 100%
icon-name: âbattery-caution-charging-symbolicâ
acpi -b gives: Battery 0: Charging, 0%, rate information unavailable
Got it finally working. I had to update my firmware a couple of times as well. fwupdmgr was not working out of the box since there is a safety mechanism that prevents firmware updates when battery charge is below 25% (which is wanât in reality). This is what I did:
Disabled upower for fwupdmgr:
cd /etc/fwupd/
sudo nano fwupd.conf
added â;upowerâ to the end of the line âDisabledPlugins=âŚâ
Ctrl + W to save the config, Crtl + X to exit
Restart fwupdmgr service:
systemctl restart fwupd
Force firmware update:
sudo fwupdmgr --force --no-safety-check update -v
Restart & Repeat the firmware update step until there are no new updates.
Now everything is working as expected. Thanks for the help