4 ms·
One question, are you keeping it plugged in continuously, or disconnect it, sometimes? Because keeping it 100% will slowly degrade the battery, and during power
by t_mahmood 1y ago
One question, are you keeping it plugged in continuously, or disconnect it, sometimes? Because keeping it 100% will slowly degrade the battery, and during power loss it might fail.
In my country it's possible to have power loss occasionally, so having the battery on good health is important. I'm planning to setup two unused laptops, and a mobile for servers (different purposes) and power management, battery health has been an issue.
- VTimofeenko 1y agoA battery may turn into a spicy pillow. Please do consider a UPS.
- t_mahmood 1y agoUPS is a mandatory for my desktop already, but all of them goes bad in a year or two, unfortunately. Which is why I am considering Laptops for server.
- VTimofeenko 1y ago2 years seems pretty quick. Do batteries die or something else? Laptops generally don't have the best thermals, so there's a limit to how much chooch you can get from them.
- t_mahmood 1y agoYes, that quick. It is probably leaded batteries do no like to get drained fully. I have two UPS now that dies as soon as electricity goes. I am thinking of writing a script that will trigger the desktop to shut down as soon as the LAN goes down. My desktop is 1kw PSU, so, I am really not looking forward to replacing the 1.2kw UPS every few years. These Laptops will be only doing backups, and small personal services one for photo backups, replacing OneDrive Another for sync, calendar service etc. None requires heavy processing, in my knowledge. So thermals are not going to be an issue, hopefully. Secondary issues are cats. And I don't have any idea how to stop them from stepping on the keyboards whenever they think like it, or jump on the router and cut the Internet :|
- VTimofeenko 1y agoThere's nut-server project to take care of the shutdowns. Compatible UPS can be read from using SNMP or USB and nut-server can distribute the status to the clients. Clients may elect to shut down. Does your desktop actually drain 1kw during normal operation? If so, yeah, it would probably benefit from a separate UPS. You might not need to replace the whole thing though, just the batteries -- admittedly they are the bulk of the cost. WRT cats -- I got myself a network cabinet for precisely that reason. Also minimizes the amount of fur getting trapped in vents.
- yencabulator 1y agoFor your next UPS purchase, specifically look for LiFePO4 batteries.
- MostlyStable 1y agoThe Framework bios (at least recent ones, but not original, so maybe OP hasn't updated) allow for a setting that, if the power is plugged in continuously, it won't fully charge the battery, even if your normal power limit is 100%. Here is a knowledgebase article that goes into the details: https://knowledgebase.frame.work/en_us/framework-laptop-13-bios-and-driver-releases-amd-ryzen-7040-series-r1rXGVL16 https://knowledgebase.frame.work/en_us/framework-laptop-13-b...
- WhyNotHugo 1y agoYou can also control this from userspace. On Linux, use something like: echo 80 | doas tee /sys/class/power_supply/BAT0/charge_stop_threshold
- yencabulator 1y agoMost likely called charge_control_end_threshold (only mention of the identifier you used is in thinkpad_acpi.c), and not available on nearly all hardware. https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-class-power https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-c...
- casenmgreen 1y agoYou can manually specify a fixed maximum, which was available from 3.04 (which was the BIOS I had back in late 2022 when I got mine). One interesting note in the new functionality is that charging will let the battery drain by some percent before recharging.