Tag Info

Hot answers tagged

7

This seems to be a known bug and you can read more detail on launchpad as well as on ubuntuforums. The issue is that somehow gnome-power-manager and the xset commands conflict with each other. The solution is to run xset dpms force off in a loop, a python script pretty much works for most of us. Give it a try, and see how it goes.


7

On my system I can obtain the power drawn from the battery from cat /sys/class/power_supply/BAT0/power_now 9616000 The value seems to be in µW, though. You can convert it with any tool you're comfortable with, e.g. awk: awk '{print $1*10^-6 " W"}' /sys/class/power_supply/BAT0/power_now 9.616 W


6

Computers generally don't track the current they are drawing. It is common that there are voltage sensors that are readable. Power consumption can vary widely over time depending on workload. CPUs now throttle back when load is low. Disks will shutdown when idle. Tools like powertop will track processes which trigger increases in power consumption. ...


6

The fade out is probably the screensaver kicking in. Try to disable it by going to System->Preferences->Look and Feel->Screensaver and disabling "Activate screensaver when computer is idle" if indeed the active screen saver is "Blank screen". The fact that the fading out can't be interrupted is a bug it seems. E.g. Fedora has a bugreport stating it is a ...


5

I doubt that LXDE vs GNOME will make a significant difference, but I don't have hard figures. I doubt less that the default configuration of LXDE and the default configuration of GNOME will make some difference. To keep power consumption down, turn off desktop effects (animations, anything 3D). Make sure you're not running any kind of “screen saver”. Most ...


5

You need to change the DPMS settings, which are controllable with xset. You can disable all DPMS with: $ xset -dpms And re-enable them with: $ xset +dpms You can also control how long before the monitor switches into each state (standby, suspend, and off; they're explained in this Wikipedia article) by passing 3 integers for the number of seconds ...


5

The ACPI block depends on PCI being enabled. Symbol: ACPI [=y] ... Depends on: !IA64_HP_SIM && (IA64 || X86 [=y]) && PCI [=y] If you disabled PCI (or didn't enable it), or selected a different architecture, you won't see any options related to ACPI.


5

Sounds like you want suspend-to-both/hybrid suspend which should do all the steps of hibernating, including writing RAM to disk, but not actually turn the machine off; instead, it'll go into S3 (standby). If you wake the machine up before the battery dies, it'll be fairly quick; if the battery dies, it'll be just as if you'd hibernated it.


4

Does the power strip do anything beyond read the +5V a connected USB port provides? (Do you see anything in dmesg when you attach it? Does the output of lsusb change after you plug it in?) If not, the kernel may not even recognize that anything is attached. You can't tell a device to suspend if it never enumerates itself: it would never show up under ...


4

The very important thing is to lower down the cpu clock first. The second important part is to verify there is no physical cooling problem (like dust on the fans, cat or dog hairs in the heatsink ect) On most computers, the fan speed is directly operated by the bios or the os automatically. The cleaning/lowering cpu speed process should let the cooling ...


4

The program powertop should help you identify the problem. $ sudo yum -y install powertop $ sudo powertop Look at the various output, and then arrow-key over to the rightmost "tab", Tunables. Look at the things which are "bad", and press enter to fix them. Also, on the first Overview screen, look for any egregiously bad processes that might be ...


4

At that point, I would think about using a power monitor to measure the load on the computer at any time. You could hook up your computer or surge protector to something like Tweet-a-Watt and then keep track of the metrics from there on a per day/week/month basis. I imagine you could use ACPI/APM to monitor some aspects (and mayhaps power, as well) of the ...


4

I haven't got the time for all details now, but see the GNOME Power Manager's FAQ "How do I make my application stop the computer auto-suspending" which points to the Inhibit() and UnInhibit() DBus-calls. A caveat: if the process calling Inhibit() exits, the inhibition is ended - dbus-send in a Shell script thus won't do, but some wrapper script (e.g. in ...


4

I think there's a power utilization regression that was introduced in 3.6.x. If you can, stick with the older kernel. Supposedly, there's also an ext4 metadata block corruption bug in 3.6.2 as well, so it might be worth waiting.


4

The kondemand process helps conserving power by reducing the CPU-Speed if the CPU isn't needed to run at maximum speed. Reduced Clock Speed == Reduced power requirements. Personally, i find that very useful on portable devices (smartphone, netbook) but i'm not sure about thta feature when it comes to Servers.


4

Powertop is not a permanent tool, as you know, so you will have to setup your system to run the commands through sysctl, udev, systemd units, scripts, whatever... In order to see what commands are used by powertop you will have to run powertop --html BEFORE MAKING ANY CHANGES, that is, BEFORE toggling the settings from Bad to Good. If you already tuned for ...


4

Strictly speaking, no you don't need acpid in a virtual machine nor on a real system. But you should install acpid in a VM as it typically handles the power button press which is simulated by the hypervisor if you shutdown a VM. So for practically reasons, yes you should install acpid on a VM. P.S: acpid doesn't really do power management


3

some UPS devices have displays that track power consumption, too, and there may be ways with the USB connectivity and a program like apcupsd to poll that kind of information for graphing with something like Cacti. otherwise you're looking at a wall outlet with a display, like a Belkin Conserve Insight F7C005q Energy Use Monitor. Btw, powertop will work ...


3

USB drives have a chipset that converts USB mass-storage-device commands to IDE or SATA commands, which the drive then receives. Cheap chipsets (which are the majority, I imagine) don't pass on commands correctly to the drive that aren't directly related to reading or writing data from the drive. You are kind of at the mercy of that hardware with USB ...


3

If I read the datasheet correctly, you have one slot filled, six cores, which show as 12 processors because they are hyperthreading. (Also, /proc/cpuinfo should tell you about processor and physical id. The two parts of a hyperthreading core have the same physical id.) This seems like a good read on the matter.


3

There are some suggestions in this Redhat KB doc. https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html-single/Power_Management_Guide/index.html#gnome-power-manager 1. Using GNOME Power Managment Applet Usually I open up the GNOME Power Management applet and disable any dimming etc. when on AC power. Have you done these things ...


3

On a laptop by reading the ACPI data from either procfs or sysfs. On my system the files are: /proc/acpi/battery/BAT0/state /sys/bus/acpi/drivers/battery/PNP0C0A:00/power_supply/BAT0/power_now Note that the sysfs is heavily symlinked so there are many ways to reach the file. power_now is the file name you are looking for.


3

I would leave it. I believe ACPI does more than just power management. For example I believe there is a ACPI event that is sent in via the VM Host to the guests when you want them to shutdown or reboot. Excerpt from Manual:KVM: shut-down issue ACPI shut-down command to KVM guest, if guest does not support ACPI, command have no effect. reboot ...


3

Potential Method #1 I think you can do it with these commands: disable echo 0 > /sys/bus/pci/slots/$N/power enable echo 1 > /sys/bus/pci/slots/$N/power Where $N is the number of the PCI slot. lspci -vv may help to identify the device. This is not very well documented... Potential Method #2 I came across this thread on U&L, similar ...


2

There may be. Some 'proprietary' extensions which allow to operate on battery. For example tp-smapi patchset allows to set the maximum charging threshold for thinkpads. Setting it to 0 would prevent it from charging. Some laptops may not have that possibility in BIOS so you need to post details about hardware to receive any details.


2

Make sure your BIOS is set to restart the system after a power failure. Turn off auto login unless you have a really good reason for it to be enabled. You shouldn't really need to be interactively logged on for any server type programs to function. Especially if you can get into the system remotely there is no reason for it. For most any program you need ...


2

# To enforce suspend immediately when device is unused: echo -n "0" >$DEV_POWER_PATH"/power/autosuspend_delay_ms" echo -n "auto" >$DEV_POWER_PATH"/power/control" # Make the device was not used rmmod drv_name # see result of lsmod # Power on: echo -n "2000" >$DEV_POWER_PATH"/power/autosuspend_delay_ms" echo -n "on" ...


2

you could try the jupiter applet, its a power management applet for laptops and netbooks, very very handy to get longer battery life,i use it in ubuntu, but its also meant to be supported in Fedora 14, have a look here http://www.fewt.com/2011/01/jupiter-applet-gets-its-own-home.html


2

Those sources might be outdated, which is very common in the FOSS community. Answer aping is also common, so outdated information can be spread years after its obsolescence. I will say the support is still considered a WIP, but it does exist. The project is called Bumblebee (its a play on optimus prime). The best guide I've seen online is at the Arch ...


2

There is really no reason why you would want to do this: pulling the stick/card out kills the power already, so turning off the USB port would be redundant. Also, how would the computer know when to turn the power back on, to prepare for another device being attached? There is a related question at ...



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