PowerChecker is a lightweight battery monitoring application built with OpenGL and GLFW.
The application displays current battery level.
- Battery percentage: Accurate reading from
/sys/class/power_supply/BAT0/capacity
- Instant actions: One-click shutdown or suspend
- Lightweight: Minimal resource consumption
- Silent mode: Run with
--smode=true
for background operation - SD - Immediate shutdown
- SS - Suspend system
- Go (1.24.3) - primary language
- Go-gl - graphics rendering
- Go-gl/glfw (v3.3) - window management
-
Clone the repository:
git clone https://github.com/Votline/PowerChecker cd PowerChecker
-
Download dependencies:
go mod download
-
Build the application:
go build -o powercheck
-
Run:
./powercheck
This project is licensed under MIT.
The full license texts are available in the licenses directory