Charge Current Limits Not Working - "hwmon3/maximum_battery_charge_rate`: Permission denied" #156

Closed
opened 2024-05-07 20:22:11 +01:00 by HeyRob · 1 comment

Expected Behaviour

Just did a clean install on Steam Deck (re-image/wiped everything) using Steam image: steamdeck-repair-20231127.10-3.5.7. After installing Steam (and applying update to v3.5.19), I installed Decky using shortcut/script on their GitHub (v2.12.0) and their instructions. I then installed PowerTools from Decky repo (v2.0.2). I then tried to reduce the maximum charge rate (only setting I've ever changed on this install of PowerTools). After confirming it's not reducing wattage draw (never dropped from ~34 watts power draw), I went digging for logs.

Actual Behaviour

PowerTools is not reducing maximum charge rate (confirmed with USB C power supply).

Steps To Reproduce

  1. Install SteamOS (v3.5.7)
  2. Update SteamOS to v3.5.19 using Stable release channel
  3. Install Decky v2.12.0
  4. Install PowerTools v2.0.2
  5. Toggle on 'Charge Current Limits' in PowerTools
  6. Drag slider down
  7. Check power draw

Anything else?

Log:

18:54:36 [INFO] CLI arguments, as parsed: Args { port: None, log: None, verbose: false, op: None }
18:54:36 [INFO] Starting back-end (powertools v2.0.2)
18:54:36 [INFO] Current dir /home/deck/homebrew/services
18:54:36 [INFO] home dir: Some("/home/deck")
18:54:36 [INFO] Last version file: 2.0.2
18:54:36 [INFO] Updated version file succesfully
18:54:36 [INFO] limits_worker starting...
18:54:36 [INFO] Failed to open limits override file /home/deck/homebrew/settings/PowerTools/limits_override.ron: No such file or directory (os error 2)
18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
18:54:36 [INFO] Found SteamDeck gpu drm in sysfs: /sys/class/drm/card0
18:54:36 [INFO] Found SteamDeck gpu hwmon amdgpu in sysfs: /sys/class/hwmon/hwmon5
18:54:36 [INFO] Found SteamDeck battery power_supply in sysfs: /sys/class/power_supply/BAT1
18:54:36 [WARN] Failed to find SteamDeck battery hwmon jupiter in sysfs (Success (os error 0)), trying alternate name
18:54:36 [INFO] Found SteamDeck battery hwmon steamdeck_hwmon in sysfs: /sys/class/hwmon/hwmon3
18:54:36 [INFO] Failed to open limits override file /home/deck/homebrew/settings/PowerTools/limits_override.ron: No such file or directory (os error 2)
18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
18:54:36 [INFO] Found SteamDeck gpu drm in sysfs: /sys/class/drm/card0
18:54:36 [INFO] Found SteamDeck gpu hwmon amdgpu in sysfs: /sys/class/hwmon/hwmon5
18:54:36 [INFO] Found SteamDeck battery power_supply in sysfs: /sys/class/power_supply/BAT1
18:54:36 [WARN] Failed to find SteamDeck battery hwmon jupiter in sysfs (Success (os error 0)), trying alternate name
18:54:36 [INFO] Found SteamDeck battery hwmon steamdeck_hwmon in sysfs: /sys/class/hwmon/hwmon3
18:54:36 [INFO] Detected device automatically SteamDeck, using driver: SteamDeck (This can be overriden)
18:54:36 [INFO] resume_worker starting...
18:54:36 [INFO] power_worker starting...
18:54:36 [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)
18:54:36 [INFO] chmod/chown ~/.config/powertools for user deck (1000)
18:54:36 [INFO] api_worker starting...
18:54:36 [INFO] Server::run; addr=127.0.0.1:44443
18:54:36 [INFO] listening on http://127.0.0.1:44443
18:55:02 [ERROR] Failed to load translations for language en-US: No such file or directory (os error 2)
18:55:02 [INFO] Last id is 0, assuming resumed connection (overriding last id)
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] FRONT-END: Unregistered PowerTools callbacks, so long and thanks for all the fish.
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [WARN] FRONT-END: A resolve failed
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [WARN] FRONT-END: A resolve failed
18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id)
18:55:02 [INFO] FRONT-END: POWERTOOLS: Governors from backend schedutil,schedutil,schedutil,schedutil,schedutil,schedutil,schedutil,schedutil
18:55:35 [INFO] limits_worker completed startup wait
19:02:48 [ERROR] Failed to load translations for language en-US: No such file or directory (os error 2)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] FRONT-END: Unregistered PowerTools callbacks, so long and thanks for all the fish.
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [WARN] FRONT-END: A resolve failed
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [WARN] FRONT-END: A resolve failed
19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:48 [INFO] FRONT-END: POWERTOOLS: Governors from backend schedutil,schedutil,schedutil,schedutil,schedutil,schedutil,schedutil,schedutil
19:02:52 [INFO] Call ID is low, assuming new connection (resetting last id)
19:02:57 [ERROR] Settings on_set() err:
Battery setting error: Failed to write to /sys/class/hwmon/hwmon3/maximum_battery_charge_rate: Permission denied (os error 13),

19:02:57 [ERROR] Settings on_set() err:
Battery setting error: Failed to write to /sys/class/hwmon/hwmon3/maximum_battery_charge_rate: Permission denied (os error 13),

19:02:57 [ERROR] Settings on_set() err:
Battery setting error: Failed to write to /sys/class/hwmon/hwmon3/maximum_battery_charge_rate: Permission denied (os error 13),

19:02:57 [ERROR] Settings on_set() err:
Battery setting error: Failed to write to /sys/class/hwmon/hwmon3/maximum_battery_charge_rate: Permission denied (os error 13),

19:02:57 [ERROR] Settings on_set() err:
Battery setting error: Failed to write to /sys/class/hwmon/hwmon3/maximum_battery_charge_rate: Permission denied (os error 13),

19:02:57 [ERROR] Settings on_set() err:
Battery setting error: Failed to write to /sys/class/hwmon/hwmon3/maximum_battery_charge_rate: Permission denied (os error 13),

19:02:57 [ERROR] Settings on_set() err:
Battery setting error: Failed to write to /sys/class/hwmon/hwmon3/maximum_battery_charge_rate: Permission denied (os error 13),

19:02:57 [ERROR] Settings on_set() err:
Battery setting error: Failed to write to /sys/class/hwmon/hwmon3/maximum_battery_charge_rate: Permission denied (os error 13),

19:02:58 [ERROR] Settings on_set() err:
Battery setting error: Failed to write to /sys/class/hwmon/hwmon3/maximum_battery_charge_rate: Permission denied (os error 13),

19:02:58 [ERROR] Settings on_set() err:
Battery setting error: Failed to write to /sys/class/hwmon/hwmon3/maximum_battery_charge_rate: Permission denied (os error 13),

19:02:58 [ERROR] Settings on_set() err:
Battery setting error: Failed to write to /sys/class/hwmon/hwmon3/maximum_battery_charge_rate: Permission denied (os error 13),

19:02:58 [ERROR] Settings on_set() err:
Battery setting error: Failed to write to /sys/class/hwmon/hwmon3/maximum_battery_charge_rate: Permission denied (os error 13),

Version

v2.0.2-rls

Platform

SteamDeck

OS

SteamOS 3 (Stable)

### Expected Behaviour Just did a clean install on Steam Deck (re-image/wiped everything) using Steam image: steamdeck-repair-20231127.10-3.5.7. After installing Steam (and applying update to v3.5.19), I installed Decky using shortcut/script on their GitHub (v2.12.0) and their instructions. I then installed PowerTools from Decky repo (v2.0.2). I then tried to reduce the maximum charge rate (only setting I've ever changed on this install of PowerTools). After confirming it's not reducing wattage draw (never dropped from ~34 watts power draw), I went digging for logs. ### Actual Behaviour PowerTools is not reducing maximum charge rate (confirmed with USB C power supply). ### Steps To Reproduce 1. Install SteamOS (v3.5.7) 2. Update SteamOS to v3.5.19 using Stable release channel 3. Install Decky v2.12.0 4. Install PowerTools v2.0.2 5. Toggle on 'Charge Current Limits' in PowerTools 6. Drag slider down 7. Check power draw ### Anything else? Log: 18:54:36 [INFO] CLI arguments, as parsed: Args { port: None, log: None, verbose: false, op: None } 18:54:36 [INFO] Starting back-end (powertools v2.0.2) 18:54:36 [INFO] Current dir `/home/deck/homebrew/services` 18:54:36 [INFO] home dir: Some("/home/deck") 18:54:36 [INFO] Last version file: 2.0.2 18:54:36 [INFO] Updated version file succesfully 18:54:36 [INFO] limits_worker starting... 18:54:36 [INFO] Failed to open limits override file `/home/deck/homebrew/settings/PowerTools/limits_override.ron`: No such file or directory (os error 2) 18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 18:54:36 [INFO] Found SteamDeck gpu drm in sysfs: /sys/class/drm/card0 18:54:36 [INFO] Found SteamDeck gpu hwmon amdgpu in sysfs: /sys/class/hwmon/hwmon5 18:54:36 [INFO] Found SteamDeck battery power_supply in sysfs: /sys/class/power_supply/BAT1 18:54:36 [WARN] Failed to find SteamDeck battery hwmon jupiter in sysfs (Success (os error 0)), trying alternate name 18:54:36 [INFO] Found SteamDeck battery hwmon steamdeck_hwmon in sysfs: /sys/class/hwmon/hwmon3 18:54:36 [INFO] Failed to open limits override file `/home/deck/homebrew/settings/PowerTools/limits_override.ron`: No such file or directory (os error 2) 18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 18:54:36 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 18:54:36 [INFO] Found SteamDeck gpu drm in sysfs: /sys/class/drm/card0 18:54:36 [INFO] Found SteamDeck gpu hwmon amdgpu in sysfs: /sys/class/hwmon/hwmon5 18:54:36 [INFO] Found SteamDeck battery power_supply in sysfs: /sys/class/power_supply/BAT1 18:54:36 [WARN] Failed to find SteamDeck battery hwmon jupiter in sysfs (Success (os error 0)), trying alternate name 18:54:36 [INFO] Found SteamDeck battery hwmon steamdeck_hwmon in sysfs: /sys/class/hwmon/hwmon3 18:54:36 [INFO] Detected device automatically SteamDeck, using driver: SteamDeck (This can be overriden) 18:54:36 [INFO] resume_worker starting... 18:54:36 [INFO] power_worker starting... 18:54:36 [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) 18:54:36 [INFO] chmod/chown ~/.config/powertools for user `deck` (1000) 18:54:36 [INFO] api_worker starting... 18:54:36 [INFO] Server::run; addr=127.0.0.1:44443 18:54:36 [INFO] listening on http://127.0.0.1:44443 18:55:02 [ERROR] Failed to load translations for language `en-US`: No such file or directory (os error 2) 18:55:02 [INFO] Last id is 0, assuming resumed connection (overriding last id) 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] FRONT-END: Unregistered PowerTools callbacks, so long and thanks for all the fish. 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [WARN] FRONT-END: A resolve failed 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [WARN] FRONT-END: A resolve failed 18:55:02 [INFO] Call ID is low, assuming new connection (resetting last id) 18:55:02 [INFO] FRONT-END: POWERTOOLS: Governors from backend schedutil,schedutil,schedutil,schedutil,schedutil,schedutil,schedutil,schedutil 18:55:35 [INFO] limits_worker completed startup wait 19:02:48 [ERROR] Failed to load translations for language `en-US`: No such file or directory (os error 2) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] FRONT-END: Unregistered PowerTools callbacks, so long and thanks for all the fish. 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [WARN] FRONT-END: A resolve failed 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [WARN] FRONT-END: A resolve failed 19:02:48 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:48 [INFO] FRONT-END: POWERTOOLS: Governors from backend schedutil,schedutil,schedutil,schedutil,schedutil,schedutil,schedutil,schedutil 19:02:52 [INFO] Call ID is low, assuming new connection (resetting last id) 19:02:57 [ERROR] Settings on_set() err: Battery setting error: Failed to write to `/sys/class/hwmon/hwmon3/maximum_battery_charge_rate`: Permission denied (os error 13), 19:02:57 [ERROR] Settings on_set() err: Battery setting error: Failed to write to `/sys/class/hwmon/hwmon3/maximum_battery_charge_rate`: Permission denied (os error 13), 19:02:57 [ERROR] Settings on_set() err: Battery setting error: Failed to write to `/sys/class/hwmon/hwmon3/maximum_battery_charge_rate`: Permission denied (os error 13), 19:02:57 [ERROR] Settings on_set() err: Battery setting error: Failed to write to `/sys/class/hwmon/hwmon3/maximum_battery_charge_rate`: Permission denied (os error 13), 19:02:57 [ERROR] Settings on_set() err: Battery setting error: Failed to write to `/sys/class/hwmon/hwmon3/maximum_battery_charge_rate`: Permission denied (os error 13), 19:02:57 [ERROR] Settings on_set() err: Battery setting error: Failed to write to `/sys/class/hwmon/hwmon3/maximum_battery_charge_rate`: Permission denied (os error 13), 19:02:57 [ERROR] Settings on_set() err: Battery setting error: Failed to write to `/sys/class/hwmon/hwmon3/maximum_battery_charge_rate`: Permission denied (os error 13), 19:02:57 [ERROR] Settings on_set() err: Battery setting error: Failed to write to `/sys/class/hwmon/hwmon3/maximum_battery_charge_rate`: Permission denied (os error 13), 19:02:58 [ERROR] Settings on_set() err: Battery setting error: Failed to write to `/sys/class/hwmon/hwmon3/maximum_battery_charge_rate`: Permission denied (os error 13), 19:02:58 [ERROR] Settings on_set() err: Battery setting error: Failed to write to `/sys/class/hwmon/hwmon3/maximum_battery_charge_rate`: Permission denied (os error 13), 19:02:58 [ERROR] Settings on_set() err: Battery setting error: Failed to write to `/sys/class/hwmon/hwmon3/maximum_battery_charge_rate`: Permission denied (os error 13), 19:02:58 [ERROR] Settings on_set() err: Battery setting error: Failed to write to `/sys/class/hwmon/hwmon3/maximum_battery_charge_rate`: Permission denied (os error 13), ### Version v2.0.2-rls ### Platform SteamDeck ### OS SteamOS 3 (Stable)
HeyRob added the
bug
label 2024-05-07 20:22:11 +01:00
HeyRob changed title from Power Limits - "hwmon3/maximum_battery_charge_rate`: Permission denied" to Charge Current Limits Not Working - "hwmon3/maximum_battery_charge_rate`: Permission denied" 2024-05-07 20:26:11 +01:00
NGnius self-assigned this 2024-05-07 22:51:58 +01:00
NGnius added the
tbr
label 2024-05-07 23:48:19 +01:00
Owner

It seems like the actual sysfs interface has changed too. I've made the change to align it with the new limits, but I don't see any indication that it actually does anything.

It seems like the actual sysfs interface has changed too. I've made the change to align it with the new limits, but I don't see any indication that it actually does anything.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: NG-SD-Plugins/PowerTools#156
No description provided.