mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-22 22:36:00 +00:00
Deck mode passes -steamdeck alone: -steamos3 opted the install into the steamdeck_stable branch and started the restart loop Bannerlator hit on device (38996ea1). The SteamOS helpers the client calls in that mode - the two Armada found it needs under steamos-polkit-helpers and the three under /usr/bin - are staged from the apk as no-op stubs. The client branch on disk is kept in step with the one forced on the command line, and an update that cannot install stops the session after three restarts instead of looping for ever. The Steam cog gets a Client branch row: public beta (every session so far) or Steam Deck public beta, the channel Armada bootstraps from. The client reads /sys/class/power_supply/BAT<n>/; Android's supply is called battery and laid out differently, so the Quick Access Menu had no battery. BatteryComponent writes BAT0 and BAT1 from Android's battery API every five seconds - status, percentage, charge, energy, power and time to empty - into a directory bound over /sys/class/power_supply.
7 lines
358 B
Bash
Executable File
7 lines
358 B
Bash
Executable File
#!/bin/sh
|
|
# steamos-priv-write <path> <value>: how the client in Deck mode sets brightness, TDP and fan
|
|
# controls through sysfs. None of those paths is writable from an app on Android, and the app
|
|
# already sets the panel's mode and the game-tier power policy from the Android side. Accept
|
|
# and do nothing, so the client never logs a failed helper.
|
|
exit 0
|