Tag Info

Hot answers tagged

2

I found the solution on Server Fault: We have to create an executable script in /etc/pm/sleep.d/ that will cancel any hibernate or suspend actions. sudoedit /etc/pm/sleep.d/000cancel-hibernate-suspend The content of this file should be: #!/bin/sh # prevents hibernation and suspend . "$PM_FUNCTIONS" case "${1}" in suspend|hibernate) inhibit ;; ...


2

Go to the system settings and then click on Power. On that menu, you can configure the closed lid behavior.


1

You need an additional package that contains a utility to actually power off the WD as WD does not support Linux out of the box: sudo apt-get install usdisks2 sudo udisksctl power-off --block-device /dev/XdY where X and Y are the letters corresponding to your disk.


1

So far I haven't found a simple alternative to "safely eject" in the file manager, so this is my justification for using command line here. First , you'd need to find out your external hard-drives device id or block id. Then you can use either udisks or udisksctl to unmount and actually power off the device. I have answered related question some time ago , ...


1

Try the following: upower --enumerate ...and detect the battery canonical name. After that, you can issue: upower -i /org/freedesktop/UPower/devices/battery_BAT0 (change with your name). This will give you the full statistics of the battery. If it's old, you can have a maximum capacity different form 100%: energy-full: 44.69 Wh ...


1

Disable USB 3.0 Mode from BIOS. It worked for me.


1

Don't know if you're still looking for this, but to disable entering the sleep mode I had to edit the /etc/systemd/logind.conf file and modified the line: "#HandleLidSwitch=suspend" to HandleLidSwitch=ignore Then rebooted.


1

Do you still have the problem? You may try to recalibrate your battery. Just follow the steps described here under the paragraph "How to Manually Calibrate a Battery". The process itself works equal with Ubuntu.



Only top voted, non community-wiki answers of a minimum length are eligible