Hi!
It seems i can only stay in Power Saver mode, balanced seems to be clickable but quickly reverts to Power Saver and Performance is not even clickable.
Any idea if there is any way to do that 'manually' as my laptop is really slow now.
Thank you.
Fred
On 25/01/2023 06:30, Frederic Muller wrote:
Hi!
It seems i can only stay in Power Saver mode, balanced seems to be clickable but quickly reverts to Power Saver and Performance is not even clickable.
Any idea if there is any way to do that 'manually' as my laptop is really slow now.
I don't know the answer but have you looked for logs in the journal related to power?
I wonder if there are clues there as to what is happening.
Barry
Thank you.
Fred _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
On 25/01/2023 17:01, Barry Scott wrote:
On 25/01/2023 06:30, Frederic Muller wrote:
Hi!
It seems i can only stay in Power Saver mode, balanced seems to be clickable but quickly reverts to Power Saver and Performance is not even clickable.
Any idea if there is any way to do that 'manually' as my laptop is really slow now.
I don't know the answer but have you looked for logs in the journal related to power?
I wonder if there are clues there as to what is happening.
Barry
I didn't. I however tried to run that auto-updater script I found on the topic and it doesn't work:
#!/bin/bash
dbus-monitor --system "type='signal',path='/org/freedesktop/UPower/devices/battery_BAT0',member='PropertiesChanged'" | while read LINE; do echo ${LINE} | grep battery_BAT0 | grep -q PropertiesChanged if [ $? -eq 0 ]; then BATT_STAT=$(dbus-send --print-reply=literal --system --dest=org.freedesktop.UPower /org/freedesktop/UPower/devices/battery_BAT0 org.freedesktop.DBus.Properties.Get string:org.freedesktop.UPower.Device string:State | awk '{ print $3; }') if [ $BATT_STAT -eq 1 ] || [ $BATT_STAT -eq 4 ]; then LEVEL=$(powerprofilesctl list | grep -q performance && echo "performance" || echo "balanced") elif [ $BATT_STAT -eq 5 ]; then LEVEL="balanced" else LEVEL="power-saver" fi echo "Changing power level to ${LEVEL}" gdbus call --system --dest net.hadess.PowerProfiles --object-path /net/hadess/PowerProfiles --method org.freedesktop.DBus.Properties.Set 'net.hadess.PowerProfiles' 'ActiveProfile' "<'${LEVEL}'>" > /dev/null [[ $? -ne 0 ]] && echo "Could not change power level to ${LEVEL}!" fi done
Where do I find the logs?
Thank you.
Fred
On 25/1/23 21:25, Frederic Muller wrote:
On 25/01/2023 17:01, Barry Scott wrote:
On 25/01/2023 06:30, Frederic Muller wrote:
Hi!
It seems i can only stay in Power Saver mode, balanced seems to be clickable but quickly reverts to Power Saver and Performance is not even clickable.
Any idea if there is any way to do that 'manually' as my laptop is really slow now.
I don't know the answer but have you looked for logs in the journal related to power?
I wonder if there are clues there as to what is happening.
Barry
I didn't. I however tried to run that auto-updater script I found on the topic and it doesn't work:
#!/bin/bash
dbus-monitor --system "type='signal',path='/org/freedesktop/UPower/devices/battery_BAT0',member='PropertiesChanged'" | while read LINE; do echo ${LINE} | grep battery_BAT0 | grep -q PropertiesChanged if [ $? -eq 0 ]; then BATT_STAT=$(dbus-send --print-reply=literal --system --dest=org.freedesktop.UPower /org/freedesktop/UPower/devices/battery_BAT0 org.freedesktop.DBus.Properties.Get string:org.freedesktop.UPower.Device string:State | awk '{ print $3; }') if [ $BATT_STAT -eq 1 ] || [ $BATT_STAT -eq 4 ]; then LEVEL=$(powerprofilesctl list | grep -q performance && echo "performance" || echo "balanced") elif [ $BATT_STAT -eq 5 ]; then LEVEL="balanced" else LEVEL="power-saver" fi echo "Changing power level to ${LEVEL}" gdbus call --system --dest net.hadess.PowerProfiles --object-path /net/hadess/PowerProfiles --method org.freedesktop.DBus.Properties.Set 'net.hadess.PowerProfiles' 'ActiveProfile' "<'${LEVEL}'>" > /dev/null [[ $? -ne 0 ]] && echo "Could not change power level to ${LEVEL}!" fi done
Where do I find the logs?
Where are you finding the power settings. I'm not using a laptop but in KDE in the system settings under Power Management I don't seem to have the options you are referring to.
regards, Steve
Thank you.
Fred _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
On 25/01/2023 17:34, Stephen Morris wrote:
On 25/1/23 21:25, Frederic Muller wrote:
On 25/01/2023 17:01, Barry Scott wrote:
On 25/01/2023 06:30, Frederic Muller wrote:
Hi!
It seems i can only stay in Power Saver mode, balanced seems to be clickable but quickly reverts to Power Saver and Performance is not even clickable.
Any idea if there is any way to do that 'manually' as my laptop is really slow now.
[...]
Where do I find the logs?
Where are you finding the power settings. I'm not using a laptop but in KDE in the system settings under Power Management I don't seem to have the options you are referring to.
Likewise in Gnome it is under Settings under the Power section and in Power mode sub-section.
Not sure if that helps though.
Fred
On 25/01/2023 17:34, Stephen Morris wrote:
On 25/1/23 21:25, Frederic Muller wrote:
On 25/01/2023 17:01, Barry Scott wrote:
On 25/01/2023 06:30, Frederic Muller wrote:
Hi!
It seems i can only stay in Power Saver mode, balanced seems to be clickable but quickly reverts to Power Saver and Performance is not even clickable.
Any idea if there is any way to do that 'manually' as my laptop is really slow now.
[...]
Where do I find the logs?
Where are you finding the power settings. I'm not using a laptop but in KDE in the system settings under Power Management I don't seem to have the options you are referring to.
Ok I found some help in the doc....
running this|sudo G_MESSAGES_DEBUG=all /usr/libexec/power-profiles-daemon -r -v| |Gives me:|
|** (power-profiles-daemon:6704): DEBUG: 19:10:47.581: Starting power-profiles-daemon version 0.12 (power-profiles-daemon:6704): GLib-GIO-DEBUG: 19:10:47.582: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) ** (power-profiles-daemon:6704): DEBUG: 19:10:47.583: Handling driver 'fake' ** (power-profiles-daemon:6704): DEBUG: 19:10:47.583: probe() failed for driver fake, skipping ** (power-profiles-daemon:6704): DEBUG: 19:10:47.583: Handling driver 'platform_profile' (power-profiles-daemon:6704): GLib-GIO-DEBUG: 19:10:47.583: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ ** (power-profiles-daemon:6704): DEBUG: 19:10:47.586: ACPI performance_profile is now l, so profile is detected as power-saver ** (power-profiles-daemon:6704): DEBUG: 19:10:47.586: Found a dytc_lapmode sysfs attribute to thinkpad_acpi ** (power-profiles-daemon:6704): DEBUG: 19:10:47.586: Handling driver 'intel_pstate' ** (power-profiles-daemon:6704): DEBUG: 19:10:47.586: Driver 'platform_profile' already probed, skipping driver 'intel_pstate' ** (power-profiles-daemon:6704): DEBUG: 19:10:47.586: Handling driver 'placeholder' ** (power-profiles-daemon:6704): DEBUG: 19:10:47.586: Driver 'platform_profile' already probed, skipping driver 'placeholder' ** (power-profiles-daemon:6704): DEBUG: 19:10:47.587: Handling action 'trickle_charge' ** (power-profiles-daemon:6704): DEBUG: 19:10:47.587: Applying profile 'power-saver' from configuration file ** (power-profiles-daemon:6704): DEBUG: 19:10:47.587: Setting active profile 'power-saver' for reason 'reset' (current: 'power-saver') ** (power-profiles-daemon:6704): DEBUG: 19:10:47.587: Can't switch to power-saver mode, already there |
| |
|Not sure what to think.|
|Fred |
On Wed, Jan 25, 2023 at 7:14 AM Frederic Muller fred@cm17.com wrote:
On 25/01/2023 17:34, Stephen Morris wrote:
On 25/1/23 21:25, Frederic Muller wrote:
On 25/01/2023 17:01, Barry Scott wrote:
On 25/01/2023 06:30, Frederic Muller wrote:
Hi!
It seems i can only stay in Power Saver mode, balanced seems to be clickable but quickly reverts to Power Saver and Performance is not even clickable.
Any idea if there is any way to do that 'manually' as my laptop is really slow now.
[...]
Where do I find the logs?
Where are you finding the power settings. I'm not using a laptop but in KDE in the system settings under Power Management I don't seem to have the options you are referring to.
In kde look for "battery and brightness". I found it under "show hidden
icons" on the bottom right, I believe that's called the system tray?
On 26/1/23 00:58, Neal Becker wrote:
On Wed, Jan 25, 2023 at 7:14 AM Frederic Muller fred@cm17.com wrote:
On 25/01/2023 17:34, Stephen Morris wrote:
On 25/1/23 21:25, Frederic Muller wrote:
On 25/01/2023 17:01, Barry Scott wrote:
On 25/01/2023 06:30, Frederic Muller wrote:
Hi! It seems i can only stay in Power Saver mode, balanced seems to be clickable but quickly reverts to Power Saver and Performance is not even clickable. Any idea if there is any way to do that 'manually' as my laptop is really slow now.
[...]
Where do I find the logs?
Where are you finding the power settings. I'm not using a laptop but in KDE in the system settings under Power Management I don't seem to have the options you are referring to.
In kde look for "battery and brightness". I found it under "show hidden icons" on the bottom right, I believe that's called the system tray?
In my kde desktop in F37, in the "Hidden Icons" drop down in the system tray I don't have that option, I have "Power Management" with is the same option as in system settings. Also in the Energy Saving option in Power Management I don't have a screen brightness entry at all. Am I missing a package that should be installed?
regards, Steve
users mailing list --users@lists.fedoraproject.org To unsubscribe send an email tousers-leave@lists.fedoraproject.org Fedora Code of Conduct:https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines:https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives:https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it:https://pagure.io/fedora-infrastructure/new_issue
On 25/01/2023 10:25, Frederic Muller wrote:
On 25/01/2023 17:01, Barry Scott wrote:
On 25/01/2023 06:30, Frederic Muller wrote:
Hi!
It seems i can only stay in Power Saver mode, balanced seems to be clickable but quickly reverts to Power Saver and Performance is not even clickable.
Any idea if there is any way to do that 'manually' as my laptop is really slow now.
I don't know the answer but have you looked for logs in the journal related to power?
I wonder if there are clues there as to what is happening.
Barry
I didn't. I however tried to run that auto-updater script I found on the topic and it doesn't work:
Where do I find the logs?
journalctl command.
For example:
$ journalctl -b 0 -g power
The "-b 0" starts with the logs since boot. the "-g power" is a grep for power
Barry
Thank you.
Fred _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
On 25/01/2023 21:44, Barry Scott wrote:
journalctl -b 0 -g power
Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [PXP] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [PUBS] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [BTPR] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [PXP] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [MRST] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [DRST] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [PXP] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [V0PR] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [V1PR] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [V2PR] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [WRST] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [TBT0] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [TBT1] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [D3C] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [PIN] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [PINP] Jan 26 15:53:32 romeo kernel: Low-power S0 idle used by default for system suspend Jan 26 15:53:32 romeo kernel: input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2 Jan 26 15:53:32 romeo kernel: ACPI: button: Power Button [PWRB] Jan 26 15:53:32 romeo kernel: usb: port power management may be unreliable Jan 26 15:53:38 romeo systemd[1]: Starting power-profiles-daemon.service - Power Profiles daemon... Jan 26 15:53:38 romeo systemd[1]: Starting upower.service - Daemon for power management... Jan 26 15:53:38 romeo systemd-logind[881]: Watching system buttons on /dev/input/event2 (Power Button) Jan 26 15:53:38 romeo audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=power-profiles-daemon comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? re> Jan 26 15:53:38 romeo systemd[1]: Started power-profiles-daemon.service - Power Profiles daemon. Jan 26 15:53:38 romeo boltd[956]: power: state located at: /run/boltd/power Jan 26 15:53:38 romeo boltd[956]: power: force power support: no Jan 26 15:53:38 romeo audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=upower comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Jan 26 15:53:38 romeo systemd[1]: Started upower.service - Daemon for power management. Jan 26 15:53:42 romeo kernel: wlp0s20f3: Limiting TX power to 23 (23 - 0) dBm as advertised by 04:42:1a:a2:fb:64 Jan 26 15:53:47 romeo /usr/libexec/gdm-wayland-session[1229]: dbus-daemon[1229]: [session uid=42 pid=1229] Activating service name='org.gnome.ScreenSaver' requested by ':1.23' (uid=42 pid=1396 comm="/usr/libexec/gsd-power" label="s> Jan 26 15:53:56 romeo systemd[1687]: Starting org.gnome.SettingsDaemon.Power.service - GNOME power management service... Jan 26 15:53:56 romeo systemd[1687]: Started org.gnome.SettingsDaemon.Power.service - GNOME power management service. Jan 26 15:53:56 romeo systemd[1687]: Reached target org.gnome.SettingsDaemon.Power.target - GNOME power management target.
Does this help?
Thank you.
Fred
On 26/01/2023 15:56, Frederic Muller wrote:
journalctl -b 0 -g power
Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [PXP] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [PUBS] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [BTPR] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [PXP] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [MRST] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [DRST] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [PXP] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [V0PR] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [V1PR] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [V2PR] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [WRST] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [TBT0] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [TBT1] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [D3C] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [PIN] Jan 26 15:53:32 romeo kernel: ACPI: PM: Power Resource [PINP] Jan 26 15:53:32 romeo kernel: Low-power S0 idle used by default for system suspend Jan 26 15:53:32 romeo kernel: input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2 Jan 26 15:53:32 romeo kernel: ACPI: button: Power Button [PWRB] Jan 26 15:53:32 romeo kernel: usb: port power management may be unreliable Jan 26 15:53:38 romeo systemd[1]: Starting power-profiles-daemon.service - Power Profiles daemon... Jan 26 15:53:38 romeo systemd[1]: Starting upower.service - Daemon for power management... Jan 26 15:53:38 romeo systemd-logind[881]: Watching system buttons on /dev/input/event2 (Power Button) Jan 26 15:53:38 romeo audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=power-profiles-daemon comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? re> Jan 26 15:53:38 romeo systemd[1]: Started power-profiles-daemon.service - Power Profiles daemon. Jan 26 15:53:38 romeo boltd[956]: power: state located at: /run/boltd/power Jan 26 15:53:38 romeo boltd[956]: power: force power support: no Jan 26 15:53:38 romeo audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=upower comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Jan 26 15:53:38 romeo systemd[1]: Started upower.service - Daemon for power management. Jan 26 15:53:42 romeo kernel: wlp0s20f3: Limiting TX power to 23 (23 - 0) dBm as advertised by 04:42:1a:a2:fb:64 Jan 26 15:53:47 romeo /usr/libexec/gdm-wayland-session[1229]: dbus-daemon[1229]: [session uid=42 pid=1229] Activating service name='org.gnome.ScreenSaver' requested by ':1.23' (uid=42 pid=1396 comm="/usr/libexec/gsd-power" label="s> Jan 26 15:53:56 romeo systemd[1687]: Starting org.gnome.SettingsDaemon.Power.service - GNOME power management service... Jan 26 15:53:56 romeo systemd[1687]: Started org.gnome.SettingsDaemon.Power.service - GNOME power management service. Jan 26 15:53:56 romeo systemd[1687]: Reached target org.gnome.SettingsDaemon.Power.target - GNOME power management target.
I filed a bug here:
https://bugzilla.redhat.com/show_bug.cgi?id=2164733
Thank you.
Fred