Linux EOS and Battery

Greetings to all,

I have changed my battery. The laptop is almost 2 years old which is not that old. Mainly connected but sometimes I need to use my Laptop as a Mobile device and could not since the battery lasted barely 30 minutes.
I researched the reason why a battery would wear out in about 2 years in a laptop that is most of the time connected. The best I could come up with is the heat.
I bought a new battery. Now the big question. Is there a way to protect the battery like on Windows where you would charge it up to 60% and then stops ? I have researched that as well but there is nothing for MSI laptop. Or if you guys have any other approach/solution to this pb, I am all ears.

Thanks for your time

Please post output for:

inxi -FAZ --no-host

Some vendors also have a BIOS/UEFI option for something like this. And if the kernel supports it then setting the battery charge limit in a desktop environment like kde plasma would work. I think there is a setting in TLP, but it’s limited to lenovo/thinkpad machines only.

or maybe something like these:

Thanks for taking the time. Output below.
Forgot to mention that I did try TLP, and TP-Battery-Mode but to no avail.
Kernel: 6.6.10-arch1-1 arch: x86_64 bits: 64 Desktop: KDE Plasma v: 5.27.10
Distro: EndeavourOS
Type: Laptop System: Micro-Star product: Delta 15 A5EFK v: REV:1.0
Mobo: Micro-Star model: MS-15CK v: REV:1.0 serial:
UEFI: American Megatrends LLC. v: E15CKAMS.10C date: 08/01/2023
ID-1: BAT1 charge: 77.2 Wh (95.1%) condition: 81.2/80.3 Wh (101.2%)
Info: 8-core model: AMD Ryzen 9 5900HX with Radeon Graphics bits: 64
type: MT MCP cache: L2: 4 MiB
Speed (MHz): avg: 993 min/max: 400/4680 cores: 1: 400 2: 2395 3: 400
4: 400 5: 400 6: 400 7: 400 8: 1920 9: 2394 10: 400 11: 400 12: 400 13: 400
14: 2394 15: 2395 16: 400
Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT]
driver: amdgpu v: kernel
Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
driver: amdgpu v: kernel
Device-3: Bison HD Webcam driver: uvcvideo type: USB
Display: x11 server: X.Org v: 21.1.10 driver: X: loaded: amdgpu
unloaded: modesetting dri: radeonsi gpu: amdgpu resolution: 1: 1920x1080
2: 1920x1080~240Hz
API: EGL v: 1.5 drivers: radeonsi,swrast platforms: x11,surfaceless,device
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 23.3.3-arch1.1
renderer: AMD Radeon Graphics (radeonsi renoir LLVM 16.0.6 DRM 3.54
API: Vulkan Message: No Vulkan data available.
Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel
Device-2: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: snd_rn_pci_acp3x
Device-4: AMD Family 17h/19h HD Audio driver: snd_hda_intel
API: ALSA v: k6.6.10-arch1-1 status: kernel-api
Server-1: PipeWire v: 1.0.1 status: active
Device-1: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi
IF: wlan0 state: up mac: 7c:50:79:3f:ed:73
IF-ID-1: wg0-mullvad state: unknown speed: N/A duplex: N/A mac: N/A
Device-1: Intel AX210 Bluetooth driver: btusb type: USB
Report: btmgmt ID: hci0 state: up address: 7C:50:79:3F:ED:77 bt-v: 5.3
Local Storage: total: 2.75 TiB used: 556.97 GiB (19.8%)
ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 2TB
size: 1.82 TiB
ID-2: /dev/nvme1n1 vendor: Western Digital model: PC SN540
SDDPNPF-1T00-1032 size: 953.87 GiB
ID-1: / size: 1.72 TiB used: 556.88 GiB (31.6%) fs: ext4 dev: /dev/dm-1
ID-1: swap-1 type: partition size: 68.4 GiB used: 0 KiB (0.0%)
dev: /dev/dm-0
System Temperatures: cpu: 47.6 C mobo: N/A
Fan Speeds (rpm): N/A
GPU: device: amdgpu temp: 40.0 C device: amdgpu temp: 32.0 C fan: 0
Processes: 461 Uptime: 2h 26m Memory: total: 64 GiB note: est.
available: 62.19 GiB used: 5.08 GiB (8.2%) Shell: Bash inxi: 3.3.31


I think MControlCenter has what you are looking for:


testing as we speak. did not know about this soft but looks good. Unplugged my rig and lets see what happens. Will report back.
Thanks again for taking the time. EOS and the community simply ROCK !!!

1 Like

Works as advertised… Stopped charging at 60%
Thanks a lot for your time. Much appreciated

You’re welcome!

Please take a moment to mark the post as solution if your issue is resolved.


This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.