MakeAppInactiveTool
am set-inactive <pkg> true — flag an app as idle so the system applies aggressive Doze restrictions immediately rather than waiting for natural idle accumulation (useful for testing Doze behaviour). Idempotent. Treated as a command failure on non-zero exit or non-empty stderr.
Privilege: requires a working ShellBackend.
Params: package_name (required).
On success the result map carries success (true), package_name, and inactive (true).