more questions about the MacBook Pro, Core i5, 2.8 GHz (I5-4308U), model A1502 (EMC 2875), a model where I cannot disconnect the battery, because the whole case is closed, a model Im going to use to experiment with mac and create a partition to install a linux distro alongside the mac os.
My favorite notebook is a one that lets me take the battery off if I don’t need it. This way I’ve been able to need just one battery in the last 8 years. Regarding the mac, I’m going to need a new battery (it lasts 5 hours the most) and don’t want to waste charging cycles.
My question is twofold:
-
Is there any linux program that lets me manage the battery so I can choose to rely solely on outlet power, even if I cannot physically remove the battery?
-
the same question for mac.
It’s also going to charge the battery.
Some laptops allow for controlling level kf charge. For example I keep my battery at 65% to prolong its life. If its supported, you should be able to set it through /sys/class/power_supply/bat0/charge_level
i dont rember file name and path exactly but shouldnlook like thisEdit: Correct filename is /sys/class/power_supply/BAT0/charge_control_end_threshold
I do the same. My laptop had a weird bug where it would reset that value to 100 every reboot, so I made a systemd service to write it at every boot.
my laptop does reset it every reboot.
If you are using KDE, you can just use KDE’s battery manager to set it there.
otherwise, your solution is good too.
Even in KDEs battery manager, I was having the same issue.
Correct, but the laptop will be running off AC.
But the concern is about the battery, so that’s kinda moot.
deleted by creator
Sure, any that you plug into the wall are running from an AC source, it gets converted to DC but the source is AC.
So every phone is AC powered because it can be plugged into a wall….? You understand how stupid that argument is yeah?
I mean, while plugged into the wall yes it’s being powered by AC.