this post was submitted on 10 Nov 2025
3 points (100.0% liked)

techsupport

2992 readers
1 users here now

The Lemmy community will help you with your tech problems and questions about anything here. Do not be shy, we will try to help you.

If something works or if you find a solution to your problem let us know it will be greatly apreciated.

Rules: instance rules + stay on topic

Partnered communities:

You Should Know

Reddit

Software gore

Recommendations

founded 2 years ago
MODERATORS
 

I'll preface this by saying I only have some basic knowledge around hardware. Any answers I might receive will probably have to be dumbed down a bit. So I bought a used 2021 Razer Blade on eBay a few months ago cos it had good specs for the price. I know, I know, desktops are better for gaming but I live in a van and travel a lot so a desktop isn't an option

Anyway, I hadn't really thought about it until afterwards (silly mistake) but I learned quite soon after buying it that it's the latest model that doesn't have battery management that allows capping the charge at 80%. I tried finding a software solution for this but from looking it up it seems that I'd need better hardware to do it and you can't with just software? Correct me if I'm wrong

Is this something I can upgrade the laptop with or is it baked in, so to speak? I know these laptops are pretty notorious for the pillow battery thing, if that's the right term. I'll accept I'll need to replace it at some point if it can't be done, but if there's some other solution then that'd be great

you are viewing a single comment's thread
view the rest of the comments
[–] Kornblumenratte@feddit.org 1 points 1 week ago* (last edited 1 week ago)

https://itsfoss.com/limit-battery-charging-linux/

TL;DR

ls /sys/class/power_supply/

This should list your batteries, standard is BAT0.

Next do:

ls /sys/class/power_supply/BAT0/charge_control_end_threshold

using your laptops battery designation instead of BAT0, of course.

If this file exists, your laptop and OS should support setting a charging threshold. Set it to 80 % by executing:

echo 80 | sudo tee /sys/class/power_supply/BAT0/charge_control_end_threshold

edit: there are no line breaks in the commands, that's just the formatting on small screens.

edit2: mine does not support it :'-(