The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

Views: 318     Votes:  3     ✅ Solution
Tag : power-management  
Link: 🔍 See Original Answer on Ask Ubuntu 🔗

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: November 24, 2022    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:

tp-link hs-100 smart plug.png

Software component (Free)

Then you need some free Linux software like tp-link Wi-Fi Smart Plug HS100:

Switch plug on: on

Switch plug off: on

Check if plug is on or off: check

Print plug system status: status

Blog about developing including full bash script

⇧ Can't boot Acer laptop into Ubuntu 19.10 after dual boot install Windows option just reloads grub bootloader after updating to Ubuntu 19.10  ⇩