this post was submitted on 23 Nov 2023
1 points (100.0% liked)

Homelab

371 readers
3 users here now

Rules

founded 11 months ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Renkin42@alien.top 1 points 10 months ago (1 children)

Maybe go ahead and take out the battery for now. If you want to keep it in as a built in ups(one of the main benefits of using a laptop), one route is to run Home Assistant and put the laptop power cord on a smart plug. Figure out how to get the laptop battery % into Home Assistant and turn the plug on if the laptop goes below about 35% and back off when it goes above 85%. This is the strategy used by many people to prevent spicy pillows in wall mounted tablets, but same idea would apply here.

[โ€“] emzy_fx@alien.top 1 points 10 months ago

Nice idea might try that, for time being will remove the battery.