`power_dpm_state` on AMDGPU not updated on battery or balance mode
ikus060 opened this issue · 0 comments
ikus060 commented
Distribution (run cat /etc/os-release
):
DISTRIB_ID=Pop
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Pop!_OS 22.04 LTS"
NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os
Related Application and/or Package Version (run apt policy $PACKAGE NAME
):
system76-power:
Installed: 1.1.24~1674505745~22.04~c504ff6
Candidate: 1.1.24~1674505745~22.04~c504ff6
Version table:
*** 1.1.24~1674505745~22.04~c504ff6 1001
1001 http://apt.pop-os.org/release jammy/main amd64 Packages
100 /var/lib/dpkg/status
Issue/Bug Description:
power_dpm_state
doesn't get updarted whenever witching to battery mode resulting in more power consumption on AMD laptop.
Steps to reproduce (if you know):
# cat /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/power_dpm_state
performance
# system76-power profile battery
setting power profile to Battery
# cat /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/power_dpm_state
performance
Expected behavior:
# cat /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/power_dpm_state
battery
Other Notes:
I see some code related to power_dpm_state
but it doesn't seams to be called...