Created
June 5, 2021 14:56
-
-
Save eenchev/e5dfce7a1ce3a5ef0c5c6d98d62d5ec8 to your computer and use it in GitHub Desktop.
Razer Blade Stealth 2016 battery state refresh on Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while sleep 15; do | |
busctl call --system org.freedesktop.UPower /org/freedesktop/UPower/devices/battery_BAT0 org.freedesktop.UPower.Device Refresh | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment