Labthrift Labthrift What to buy. What to skip. Why.

Written 28 Aug 2026. This is a how-to, not a product card. Buy links are not tagged yet.

See if the leftover laptop is actually plugged in

Before you trust the leftover laptop overnight, confirm it is drawing wall power. A dying leftover battery is not a reason to buy a UPS.

You left the leftover laptop on. This morning ads are back, or SSH hangs. The lid was shut. The charger looked seated. The leftover laptop still ran on its own battery and died. Look first. You are not buying a house battery box for this.

Skip until SSH works

If you cannot log in from the couch, stop. That is SSH from the couch. This note assumes you can type commands on the leftover box from the couch.

Skip if the leftover is a desktop

A leftover OptiPlex, EliteDesk, or mini PC has no laptop battery. It is on when the wall plug is in. Skip this note. Come back only if this leftover is a laptop.

What this is

A leftover laptop has two power stories. Wall power is the charger in the brick. The leftover battery is the small pack inside the laptop. Linux people call that pack BAT0 or BAT1. You do not need the code. You need the check. This is not the same note as don't let the leftover laptop sleep (that is the lid) or is the leftover box still on? (that is a knock from the couch). A house battery box is later, and usually not this weekend: you do not need a UPS yet.

See the leftover power names

SSH in from the couch, then ask:

ls /sys/class/power_supply/

You want a name that starts with BAT, often BAT0 or BAT1. A leftover desktop prints no BAT name. That is your skip. Names like AC, ADP, or ACAD are the wall plug the leftover box can see.

Ask if it is charging

Swap in the BAT name you saw:

cat /sys/class/power_supply/BAT0/status

Charging or Full means the leftover laptop is on wall power. Discharging means it is running on the leftover battery. That is the loose charger, the dead brick, or a leftover battery that no longer holds a charge while unplugged.

Optional leftover-battery room, same BAT name:

cat /sys/class/power_supply/BAT0/capacity

That is a percent. Under about 20 and still Discharging means the leftover laptop will go dark soon. Seat the charger now. Do not buy a new battery this weekend if Charging works once the brick clicks in.

If it says Discharging

Look at the leftover laptop, not a store page. Click the barrel or USB-C charger all the way in. Confirm the wall brick has a light, if it has one. Ask status again. If it flips to Charging, you are done. If it stays Discharging, try another leftover charger you already have before you shop. A leftover laptop that only lives on wall power is still a leftover lab. Leave it plugged in. That is enough.

What next

The lid stays don't let the leftover laptop sleep. Air stays don't cook the leftover box. If ads came back this morning, knock first: is the leftover box still on?. A cable still beats leftover Wi-Fi: a cable beats Wi-Fi for the leftover box. Skip a UPS this weekend: you do not need a UPS yet.

Skip

Sources

Debian: ls. Ubuntu: ls. Debian: cat. Linux kernel: power supply class (/sys/class/power_supply). Official pages only. For the lid, see don't let the leftover laptop sleep. For the morning knock, see is the leftover box still on?. For a house battery box, see you do not need a UPS yet. For the login, see SSH from the couch.

Also on this topic

Don't let the leftover laptop sleepClose the lid. The leftover laptop has to stay awake so SSH and Pi-hole keep working. A leftover desktop can skip this note. Is the leftover box still on?You left the leftover box on. This morning ads are back, or SSH hangs. Check if it is awake before you buy anything. Don't cook the leftover boxThe leftover box stays on. It needs air. A laptop under a pile of clothes will cook. Skip this if the leftover is a desktop with vents clear. A cable beats Wi-Fi for the leftover boxOnce the leftover box is doing real work, plug it into the router with a cable. House Wi-Fi can wait. Skip this if it is already on a cable. You do not need a UPS yetThe leftover box can sit on a house outlet. A blink of the lights is a reboot. Skip a battery box this weekend.