PowerTools attempts to set battery charge rate on startup #151
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Expected Behaviour
PowerTools not to try to set the battery charge rate when it is not explicitly attempted as an override
Actual Behaviour
From /tmp/powertools.log:
16:58:09 [INFO] CLI arguments, as parsed: Args { port: None, log: None, verbose: false, op: None }
16:58:09 [INFO] Starting back-end (powertools v2.0.2)
16:58:09 [INFO] Current dir
/home/deck/homebrew/services
16:58:09 [INFO] home dir: Some("/home/deck")
16:58:09 [INFO] Last version file: 2.0.2
16:58:09 [INFO] Updated version file succesfully
16:58:09 [INFO] limits_worker starting...
16:58:09 [INFO] Failed to open limits override file
/home/deck/homebrew/settings/PowerTools/limits_override.ron
: No such file or directory (os error 2)16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck gpu drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck gpu hwmon amdgpu in sysfs: /sys/class/hwmon/hwmon5
16:58:09 [INFO] Found SteamDeck battery power_supply in sysfs: /sys/class/power_supply/BAT1
16:58:09 [WARN] Failed to find SteamDeck battery hwmon jupiter in sysfs (Success (os error 0)), trying alternate name
16:58:09 [INFO] Found SteamDeck battery hwmon steamdeck_hwmon in sysfs: /sys/class/hwmon/hwmon3
16:58:09 [INFO] Failed to open limits override file
/home/deck/homebrew/settings/PowerTools/limits_override.ron
: No such file or directory (os error 2)16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck gpu drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck gpu hwmon amdgpu in sysfs: /sys/class/hwmon/hwmon5
16:58:09 [INFO] Found SteamDeck battery power_supply in sysfs: /sys/class/power_supply/BAT1
16:58:09 [WARN] Failed to find SteamDeck battery hwmon jupiter in sysfs (Success (os error 0)), trying alternate name
16:58:09 [INFO] Found SteamDeck battery hwmon steamdeck_hwmon in sysfs: /sys/class/hwmon/hwmon3
16:58:09 [INFO] Detected device automatically SteamDeck, using driver: SteamDeck (This can be overriden)
16:58:09 [INFO] resume_worker starting...
16:58:09 [INFO] power_worker starting...
16:58:09 [ERROR] Startup Settings.on_set() error: Battery setting error: Failed to write to
/sys/class/hwmon/hwmon3/maximum_battery_charge_rate
: Permission denied (os error 13)Steps To Reproduce
Anything else?
LCD SteamDeck on BIOS 131
Version
2.0.2-rls
Platform
SteamDeck
OS
SteamOS 3 (Stable)
This is expected behaviour
@NGnius Why is it setting the charge rate if I'm not purposefully overriding the charge rate?
Everything, including charge rate, gets set to default values when a profile is loaded