power-management

Ubuntu 22.04 freezes trying to enter suspend mode

Ubuntu 22.04 freezes trying to enter suspend mode Everything was working fine until a day or two ago. Up until now, I’ve been able to close my laptop lid, and it automatically enters suspend mode and the back light turns off. For some reason (likely after updating apt packages), my laptop now hangs when trying …

Total answers: 1

Why is my laptop screen dim after resume from screen-lock, sleep, or suspend?

Why is my laptop screen dim after resume from screen-lock, sleep, or suspend? After every resume from screen-lock, sleep, or suspend, my laptop screen is very dim. If I type Fn+F6, then the screen jumps to 100% brightness instantly. (F5 and F6 are my brightness control keys.) $ lsb_release -a No LSB modules are available. …

Total answers: 2

hibernate mode not listed by xfce although "allowed"

hibernate mode not listed by xfce although "allowed" Hibernate is not listed as a logout option in xfce4: The XFCE doc suggests to check xfce4-power-manager, but there seems to be no problem: >xfce4-power-manager –no-deamon –debug TRACE[xfpm-polkit.c:366] xfpm_polkit_check_auth_intern(): Action=org.freedesktop.login1.hibernate is authorized=TRUE How can I use hibernate? This is crucial for this computer, since I don’t seem …

Total answers: 1

Cannot write into `/sys/power/mem_sleep` in debian

Cannot write into `/sys/power/mem_sleep` in debian When using sudo tee or sudoedit, I am getting an Invalid argument error. sudoedit: unable to write to /sys/power/mem_sleep: Invalid argument sudoedit: contents of edit session left in /var/tmp/mem_sleep.c9QzrIn7 Even as user root (after su) using vi directly on the file leads to a write error: "/sys/power/mem_sleep" E514: Write …

Total answers: 1

Kubuntu on XPS 15 does not recognize power disconnect

Kubuntu on XPS 15 does not recognize power disconnect I installed Kubuntu 22 on Dell XPS 15 9520 and the laptop will not recognizes when I disconnect the power cable. It only reads "connected but not charging". So now It happned multiple times that I was not notified about low battery and drained it all …

Total answers: 1

terminal command to disable / enable "Automatic Screen Brightness" (Ubuntu 23.10)

terminal command to disable / enable "Automatic Screen Brightness" (Ubuntu 23.10) For convenience’s sake, I would like to set keyboard shortcuts to enable / disable "Automatic Screen Brightness" in the Power settings. Do such commands exist? Asked By: Markus Gratis || Source To turn off the automatic brightness (Machines with auto brightness feature support): gsettings …

Total answers: 1

laptop stays stuck at battery icon even when connected to wall plug and charging

laptop stays stuck at battery icon even when connected to wall plug and charging TLDR! What is the component that displays the battery icon vs charging icon in the top right part of screen, as well as the percentage charged? Asking, so as to determine why this part is not detecting wall-plug connection (thought battery …

Total answers: 1

Why is Ubuntu power consumption lower than non-free Debian?

Why is Ubuntu power consumption lower than non-free Debian? This website measures the power consumption on default Ubuntu server vs default Debian server, which finds that Ubuntu consumes about 8 watts, while Debian consumes 14. Since Debian includes non-free firmware, is there another reason for Ubuntu’s lower power consumption? Asked By: Marco Bazzani || Source …

Total answers: 2

How can I deactivate the lock screen on Linux Mint 21.2 Cinnamon?

How can I deactivate the lock screen on Linux Mint 21.2 Cinnamon? I am just setting up a media center based on Linux Mint 21.2 Cinnamon and have created a user with restricted rights. As the system is to be controlled during operation, it should not go into sleep mode. I have changed the energy …

Total answers: 1

Ubuntu 22.04 stuck in power saver mode

Ubuntu 22.04 stuck in power saver mode I’m on a fresh install of Ubuntu 22.04.3 LTS. I noticed that I cannot toggle out of Power Saver mode. When I choose either Performance or Balanced, it immediately switches back to Power Saver. I’ve tried using powerprofilesctl set balanced to manually set it and it seems to …

Total answers: 2

Is it risky to use hibernation in Ubuntu?

Is it risky to use hibernation in Ubuntu? I’ve read that hibernation often causes trouble in Linux environments, e.g. system fails to wake-up or freezes and sometimes even refuses booting after reset. I really like the idea of hibernating the system into a zero-power state, especially for traveling. But I don’t wanna hurt my system’s …

Total answers: 1

Does stopping bluetooth service powers it off as well?

Does stopping bluetooth service powers it off as well? Other things being equal, which of the three computers (after executing respective commands on them) would use the most energy? Which the least amount of energy? 1. bluetoothctl power off 2. bluetoothctl power off && doas systemctl stop bluetooth 3. doas systemctl stop bluetooth Does stopping …

Total answers: 1

How can I turn off a USB Lamp in Ubuntu?

How can I turn off a USB Lamp in Ubuntu? I bought a USB lamp that I want to turn ON/OFF using commands (my purpose is to setup some CRON jobs to turn it ON at certain times). I researched several answers, but none worked. I tried outputting to /sys/bus/usb/drivers/usb/unbind, /sys/bus/usb/devices/usb1/power/level, the uhubctl tool, using …

Total answers: 1

How do I keep the screen on a console-only Raspberry Pi?

How do I keep the screen on a console-only Raspberry Pi? Buildroot for RPi3 B+ without X server (console only). Monitor connected on HDMI. I want to keep the monitor on. After 10 minutes (if I’m not wrong) of no keyboard activity the screen turns off. From my old notes I did the following: echo …

Total answers: 2

Remember /sys/power/mem_sleep setting after reboot

Remember /sys/power/mem_sleep setting after reboot I had this solution for the question Macbook takes 20 seconds to wake up where I had to run echo s2idle | sudo tee -a /sys/power/mem_sleep in order to set /sys/power/mem_sleep to [s2idle] deep But after some update that change is not remembered after reboot, and that setting is reverted …

Total answers: 1

C-states not fuctioning on Ubuntu Server 22.04. Please help

C-states not fuctioning on Ubuntu Server 22.04. Please help I’m putting together a home server running Ubuntu 22.04 LTS and I’m having a hell of a time with the c-states. Current power draw of the system is 33 watts but I’d like to lower that as far as possible. At the moment I can only …

Total answers: 1

Why are new writes to files not surviving a power loss

Why are new writes to files not surviving a power loss I have a similar type of issue to: Raspberry Pi: Filesystem writes files, but after reboot the old data is back but not quite the same. I am using Armbian_23.02.2_Orangepizero_jammy_current_5.15.93 running on an OrangePi with an SD card for storage. I built a race …

Total answers: 3

Keep the PC in low power, but not sleeping

Keep the PC in low power, but not sleeping I am trying to use my old notebook to monitor some things, and I really don’t need it to run past its lowest frequency, since it will only gather data every few minutes or so and relay it. But the problem is, I don’t want it …

Total answers: 1

CPU overloads with fans running high speed when laptop is plugged in to the power

CPU overloads with fans running high speed when laptop is plugged in to the power I have a MONSTER TULPAR T7 V20.5 laptop(a foreign brand). I have Ubuntu 23.04 installed with the kernel version of 6.2.0-20-generic x86_64. The problem is CPU overload when the laptop is plugged into the power. The fans run so fast …

Total answers: 1