NewsTradingSentimentCalendarCommunityBriefing
Tech

Keeping Old Laptop Batteries Healthy with Smart Plugs

By Tech Desk · 2026-09-13 · 2 min read
A white smart plug connected to a power strip next to a closed laptop
Illustration: Tradingbird

A ten-dollar smart plug and a few automation scripts can protect a laptop battery from the slow damage of constant charging.

Running an old laptop as a home server is a common way to repurpose hardware, but it creates a specific maintenance problem. The device stays plugged into the wall around the clock, keeping the lithium-ion battery at full charge. This constant high voltage accelerates chemical degradation, significantly reducing the total number of charge cycles the battery can handle before losing capacity.

Most Windows laptops are rated for roughly 300 to 500 cycles before dropping to 80 percent of their original capacity. Sitting at 100 percent is one of the fastest ways to burn through that budget. The solution described by GN technics/smarthome (en-US) involves a budget smart plug and Home Assistant automations to manage power flow, ensuring the battery stays in a healthier range without requiring manual intervention.

High voltage accelerates battery wear

Lithium-ion cells degrade most rapidly when held at extreme charge levels. The ideal state for longevity is between 20 and 80 percent. When a laptop remains connected to power, the cells stay at a high voltage, which breaks down the electrolyte inside. This process shortens the usable life of the battery, turning a durable component into a weak link in the system.

Smart plugs offer better control

A basic smart plug, such as the TP-Link P110, provides more than just an on-off switch. It includes real-time energy monitoring, allowing users to track daily consumption and estimate electricity costs for specific devices. While some manufacturers offer built-in charge-cutting features, these often rely on opaque estimates. Users seeking more precision can bypass the manufacturer's app to integrate the device with home automation systems directly.

Integrating these plugs with Home Assistant requires a specific setup step. Users must enable third-party compatibility within the manufacturer's application before the automation platform can communicate with the device locally. This step is crucial because it allows the system to read power sensors and control the switch without relying on cloud services, offering a more reliable local connection.

Automated charging cycles protect capacity

Once connected, the automation logic is straightforward. The system monitors the battery level and cuts power when it reaches 80 percent. It then restores power when the level drops below 50 or 20 percent, depending on the user's preference. This oscillation keeps the battery in the optimal health range, preventing the constant trickle charging that leads to rapid degradation.

However, this setup is not without trade-offs. Firmware updates on the smart plug can sometimes break local API access, requiring users to toggle compatibility settings or update libraries to restore connectivity. Additionally, since the server is virtualized, it cannot access the battery status directly. A small service running on the host operating system is required to expose this data to the automation platform, adding a layer of complexity to the setup.

Based on reporting by MakeUseOf, compiled by the Tradingbird desk.

Read next

More in Tech

More from the Tech desk

All desk stories