I recently converted an old dell laptop to a server by installing Ubuntu server and casa os on it as I wanted to have some info of how it works but since then I have grown a liking towards the sheer amount of things I can host on it. I want to host pihole/adguard on it but i don’t know if it is safe to keep it running overnight as it’s a laptop. Currently I shut it down at night but for adguard I’ll need it running all the time. I’m just worried abut the battery or maybe the hardware will malfunction as its a laptop.
Not sure if it’s possible, but check the bios/uefi for so.e battery management settings. If you can set a charge threshold of 60 percent, you can leave the battery in while charging basically forever. The only concern at that point would be heat, but you’d need the battery to sit at like 45c nonstop to see degradation.
There is no sign of battery management in bios so i just removed the battery