Views:
512
Votes: 3
✅ Solution
Tag :
power-management
Link:
🔍 See Original Answer on Ask Ubuntu ⧉ 🔗
URL:
https://askubuntu.com/q/1183902
Title:
software to switch from AC to battery
ID:
/2019/10/26/software-to-switch-from-AC-to-battery
Created:
October 26, 2019
Edited: October 26, 2019
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
This is suitable for people that like to let their laptop batteries discharge automatically and then recharge at a certain percentage.
Hardware component (20 bucks)
First you need an TP-Link HS100 compatible smart plug like this one:
Software component (Free)
Then you need some free Linux software like tp-link Wi-Fi Smart Plug HS100:
Switch plug on:
hs100.sh on
Switch plug off:
hs100.sh on
Check if plug is on or off:
hs100.sh check
Print plug system status:
hs100.sh status