this post was submitted on 27 May 2024
51 points (93.2% liked)

Linux

48624 readers
1528 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

notebook is a 10 year old macbook pro without macos I installed xubuntu 24.04 in. It comes with an embedded battery.

First notebook I bought, not from apple, had a removable battery. The vendor told me to maximize its life I shouldn't plug the battery in, unless I need it (like for traveling). This way, I've managed to keep the original battery in good working condition for 8 years so far.

Back to the macbook: I cannot remove the battery and constantly loading it to up to 80% and discharge it up to 20% seems ridiculous. Furthermore, this would deplete the battery even faster, I believe.

What can I do to spare the battery as much as possible?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 6 months ago (1 children)

no, i mean that linux doesn't always interface correctly with batteries and charge controllers in devices and subsequently can't always tell the user about battery health.

the idea i was hoping to convey was that it's fine to rely on the macos battery health indicators to figure out if you should replace it, but if you can't rely on that software and especially if it's an old battery its a good idea to replace it.

[–] [email protected] 4 points 6 months ago (1 children)

this is what sudo tlp-stat -b prints:


TLP 1.6.1 --------------------------------------------

+++ Battery Care

Plugin: generic

Supported features: none available

+++ Battery Status: BAT0

/sys/class/power_supply/BAT0/manufacturer = DP

/sys/class/power_supply/BAT0/model_name = bq20z451

/sys/class/power_supply/BAT0/cycle_count = 666

/sys/class/power_supply/BAT0/charge_full_design = 6330 [mAh]

/sys/class/power_supply/BAT0/charge_full = 5043 [mAh]

/sys/class/power_supply/BAT0/charge_now = 4936 [mAh]

/sys/class/power_supply/BAT0/current_now = 0 [mA]

/sys/class/power_supply/BAT0/status = Full

/sys/class/power_supply/BAT0/charge_control_start_threshold = (not available)

/sys/class/power_supply/BAT0/charge_control_end_threshold = (not available)

Charge = 97.9 [%]

Capacity = 79.7 [%]

do you still recommend a new battery?

[–] [email protected] 2 points 6 months ago

nah you got about 400 more cycles at least.

keep it plugged in whenever you can to make it last longer.