power_status

command
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2026 License: CC0-1.0 Imports: 8 Imported by: 0

Documentation

Overview

Query Android power state: interactive, power save mode, battery saver, idle.

Build:

GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o build/power_status ./examples/power_status/
adb push power_status /data/local/tmp/ && adb shell /data/local/tmp/power_status

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL