Simplify daemon interface by removing obsolete system inhibition logic.
New Features
-
Enhancements
- Cleaned up dead code path.
-
Bug Fixes
- Prevented potential file descriptor leak by removing inhibition handling.
Why: Adopt local execution path to streamline command handling and reduce RPC overhead.
New Features
-
Enhancements
- Replace `gpu::execute` with `gpu::execute_local` in integrated, hybrid, and nvidia command invocations.
- Replace `crate::commands::power`, `battery`, `cooling`, and `touchpad` executions with `execute_local`.
- Remove the unused `LAPCTL_DAEMON_INTERNAL` environment variable setting.
Bug Fixes
- None
Set an internal environment variable when the daemon starts to allow components to detect internal mode and prepare for future runtime configuration.
- New Features
- Introduce `LAPCTL_DAEMON_INTERNAL` set to "1" inside the daemon.
- Enhancements
- Enable downstream components to detect internal daemon execution.