Skip to content

Instantly share code, notes, and snippets.

@rdebeasi
Created November 11, 2023 17:37
Show Gist options
  • Save rdebeasi/b9d684be08de0d69fdf5e6ad6da74e42 to your computer and use it in GitHub Desktop.
Save rdebeasi/b9d684be08de0d69fdf5e6ad6da74e42 to your computer and use it in GitHub Desktop.
Battery health command
#!/bin/bash
# https://www.makeuseof.com/how-to-check-your-laptops-battery-health-in-linux/
upower -i /org/freedesktop/UPower/devices/battery_BAT0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment