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.
Laptop so remove battery and if everything is accessed via webui then keep the lid closed so the screen isn’t just sitting there doing nothing 24/7 wasting power for no reason. If you have a laptop that can’t function without the battery (really odd to have this happen) then go ahead and have a spare ready for when the other dies out in a few years of constant use. Otherwise there is no big deal in running 24/7
YEs I agree the screen should be turned off, but that can be a software thing. As the screen on ubuntu server by default powers down after a few minutes anyway.
Some laptops vent heat out the keyboard, so closing the lid can trap heat. OP check how warm the keyboard is after being on for a while. You don’t even have to have the screen open all the way, just a little bit (10 degrees) to allow the heat to get out.
Couldn’t find a setting to turn off the display so I keep it shut , I disabled the lid switch so closing the lid won’t suspend the laptop. About the battery many people told me to remove it so i will try that once the turn the server on today