app_hibernation

command
v0.0.8 Latest Latest
Warning

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

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

Documentation

Overview

Query app hibernation status via the AppHibernationService.

Uses IAppHibernationService via the "app_hibernation" service to check which packages are hibernating globally and for the current user, and whether OAT artifact deletion is enabled.

Note: AppHibernationService was introduced in Android 12 (API 31). Requires system permissions to query hibernation state.

Build:

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

Jump to

Keyboard shortcuts

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