CentOS 5 :: Laptop Automatic Shutdown On Low Battery Not Working

Aug 28, 2010

I'm trying to make my system automatically shutdown once the battery level is low, but still without success. I've tried kpowersave, gnome-power-manager, kpower, klaptop but none of these worked for me. Well, I can't imagine I would be that stupid, but simply it doesn't work. In all cases mentioned above (kpower, klaptop, gnome-power-manager) I've tried to setup the laptop to shutdown once the defined level is reached, but the laptop never actually switched off unless all the battery was drained.

Btw. I think all the above mentioned apps only work once the user is logged in. But I'd like the solution to work also when the PC is on without anyone logged in. I thought I could write a bash script based on parsing of acpitools output and define it as a service, which would monitor the battery level, but I simply don't believe there isn't any functional solution to this.

View 3 Replies


ADVERTISEMENT

Ubuntu :: Prevent Automatic Shutdown/hibernate/sleep When Critical Battery Reached ?

Aug 8, 2010

I'm trying to make the power manager NOT automatically shutdown / sleep / hibernate when battery power of my laptop reaches critical

I am surprised there isnt an 'NO ACTION' option for that in power manager

I've tried editing the acpi-supper in /etc/default bu couldn't find a solution in there nor in the /home/user/.gconf/apps/gnome-power-manager/ directory

View 7 Replies View Related

Ubuntu Networking :: Wifi Card Rtl8172 Not Working When Laptop On Battery?

Feb 24, 2010

I am using a Fujitsu Amilo pi3560 with a Realtek rtl8172 wireless card, and running the latest driver (rtl8192se_linux_2.6.0014.0115.2010). The OS is Ubuntu 9.10.
Everything runs perfectly - when my laptop is connected with the power cord. But when I go battery the wireless disconnects after a few minutes. It then asks for the wpa password, searches for the router, asks again, and so on indefinitely, until I reboot and it all replays once more.

View 2 Replies View Related

Debian Hardware :: Lower Laptop Battery Charging State To Prolong Battery Life

Mar 2, 2010

getting back to our laptop, the stability window is ~3.2V. Meaning that when you operate the battery above this the electrolyte is oxidized on the positive electrode and reduced on the negative electrode. Remember that we only want to oxidize and reduce the active materials and don't want to do anything else. All these reactions other than the ones we want are called side reactions and these are really bad for the battery. The nominal voltage of a laptop battery is 3.7 V which means that something bad wants to happen as we use the battery.So long story short, stuff (e.g., passive layers and poor kinetics of reactions) happens and things are not as bad as they seem and you can increase the voltage up to 4.2V without bad things really happening. All chargers for Li-ion cells today cut the battery off when it reaches 4.2V. What you have to realize is that at 4.2V, these side reactions are present in finite amounts and start to chemically kill the battery, but its not that dramatic.

Operating to 4.1V makes things better and extends the life, 4.0 V is even better and so on. So why don't battery manufacturers cut the voltage off at, say, 4 V to get better battery life? Because every time you cut this voltage down you decrease the capacity of the battery and its run time. The 4.2V cutoff is a compromise between good run time and decent (read "not pathetic) life.On the other hand, if you charge the battery and then pull the plug (so to speak), the battery discharges some, the voltage drops, and these reactions become less of a problem and your battery life goes up. So the best things you can do is to charge the laptop (or cell phone, camera etc.) and once its charged, pull the plug. Your battery will thank you for it.As a matter of fact, if you own a Lenovo Thinkpad, you can actually change the state of charge to which you charge the battery using the Battery Maintenance utility. You can change this from charging to 100% state (where the voltage is 4.2V) to 90% so that your voltage is less. You lose some energy is doing that, but atleast you can change it to 100% when you need battery power and put it back down to 90% when you can plug in. I wish my Mac has the same feature.

I typically use the battery for a while (say 1/2 hour to 1 hour), then plug it in and wait to fully charge it, then I pull the plug and use it again for 1/2 hour to 1h and then I repeat this. Takes some getting used to and I forget to do this, but I try.

View 1 Replies View Related

Ubuntu :: Laptop With No Battery - Checking Battery State

May 1, 2010

Just installed 9.10 followed by a 10.04 upgrade (wouldn't work as a 10.04 clean install). The install and upgrade all seemed to go well.

But now when booting I get a message saying "checking battery state" and then it boots no further. This is a laptop without a battery installed, running permanently from the mains through the charger.

How can I disable this check so that the laptop will still boot without a battery fitted?

View 5 Replies View Related

Ubuntu :: Battery Not Recognized On Laptop (and It Recognizes Laptop As A Desktop)

Apr 15, 2011

I have installed Ubuntu (both 10.10 and 11.04 pre-release) on my laptop but my battery is not recognized and it is detected as a desktop system rather than a laptop. I have tried the cat /proc/acpi/battery/BAT1/state method but the directory doesn't exist. I have tried another guide to paste the battery info into this directory but it doesn't allow me to do that and says that the directory doesn't exist, even though I'm trying to make it. I tried it in root nautilus and even on an install of Lubuntu (with a root file manager) but it still failed to budge. I really don't know what to do as I have tried all the guides on the internet that I could find.

View 4 Replies View Related

Ubuntu :: Fail Shutdown With Ups Low Battery

Jan 24, 2010

I recently purchased a UPS (Tripp-lite Internet 550U)to shutdown my PC during a power outage when unattended. This model of UPS is connected to the PC with USB. Upon plugging in the UPS USB cable the Gnome Power Manager started up and it appears to correctly show the condition of the UPS. During a power outage it showed battery discharge right down to the battery going critical, but never shutdown the PC. I have set the options in the power manager for low & critical battery shutdow. Seems something is blocking the Gnome Power Manager from shutting down, but I have no idea where to start looking..

PC: Abit mobo with Phoenix bios
Ubuntu 8.04
UPS: Trtipp-Lite Internet 550U

View 5 Replies View Related

Debian Configuration :: Run A Script On A Low Battery Shutdown?

Jul 13, 2011

I have looked all over the place but I can't find if this is possible. I am running Debian 6 as a media server (SMB) and it is tied to a UPS, I used gnome power management to set up a low battery shutdown but this UPS also is powering another embedded computer. So, I was wondering if it was possible to have a script run (to log in and shut down the embedded system) before gnome power management shuts down the Debian server. I know I could probably get it to run on every shutdown, but I am looking for low power only.

View 1 Replies View Related

Debian Multimedia :: Delayed Shutdown On Low Battery?

Jul 1, 2011

is there a way to configure shutdown on critically low battery to give me a bit of time before actually shutting down?I've set Gnome to shutdown on low battery. Problem is, I don't get any notification about battery running low, and as soon as battery level reaches the critical threshold, the system starts shutdown without me having any possibility to quickly complete some tasks. Of course, I'd increase battery level thresholds accordingly.

View 3 Replies View Related

Fedora Networking :: Wireless Gone After Low Battery Shutdown

Dec 30, 2009

Broadcom 4312, dell inspiron 1545.Earlier i was running on battery power and the laptop shut down when the battery got low. When i got back to it and restarted there was no wireless network. It's grayed out and says wireless disabled. How do i fix this?

View 1 Replies View Related

Ubuntu :: 10.04 : Sudden Shutdown When Battery At 43% Level?

Jan 17, 2011

I run Ubuntu 10.04 on a HP dv2000 laptop with 2GB RAM. I see a strange problem with my system. When running on battery and the level hits about 43% (+- 1%), the system shuts down suddenly. No warning and no information in logs either. Temperature of both cores are below 50 C. I have tried cleaning the dust withing the laptop chasis but no progress.

I have done quite some research on this and other forums but haven't found anybody else with similar problem.

View 1 Replies View Related

OpenSUSE :: Augh ... Automatic Shutdown At Wit's End

Jul 19, 2010

after having far too many problems with other brown-coloured distros, I moved my MythTV box to SuSE (what all the other machines here use). Everything is working, EXCEPT for one thing: automatic idle shutdown. I cannot get MythWelcome to shut down the machine automatically (choosing shutdown now from it's menu does work). The log shows sudo: sorry, a password is required to run sudo (sudo -n) or the infamous "no tty and no askpass". (plain sudo)

I have added /sbin/shutdown to the sudoers file, and I can run sudo /sbin/shutdown -h now from the terminal and shutdown without a password... but sudo will NOT run from mythtv. I've even tried adding a special exception to the sudoers file, "Defaults !requiretty" with no luck. This is a dedicated frontend/backend with no user access (doesn't boot a desktop manager; goes straight to Mythtv) so I'm no too worried about potential security; the machine is on a LAN and cannot be accessed from the WAN side.

View 4 Replies View Related

Ubuntu :: Take A Screenshot Before Automatic Shutdown?

Jun 4, 2010

Is there a way to take a screenshot just before the "shutdown" terminal command? for example "sudo shutdown -h 90" for 90 minutes timer shutdown, and just before turning off to take a screenshot.

View 1 Replies View Related

General :: Need Script For Automatic Shutdown

Jan 14, 2011

I need a script for shutdown the system automatically if the system is not disturbed for last 10 minutes.

By the way i am using RHEL 4 in my system.

View 2 Replies View Related

General :: Hibernate And Automatic Shutdown Does Not Work / Get It?

Jun 29, 2011

I have installed Ubuntu as wubi (next to windows 7). When I expect the computer to shut down (either to hibernate or as part of, you know, shutdown), it doesn't. All the programs end, I am logged out, but I still have a picture on the screen (ubuntu default picture).

View 7 Replies View Related

Ubuntu :: HELP! Automatic Idle Shutdown Script (resurrected)

Apr 23, 2010

I found this script on another forum post (HERE) from a couple of years back.It doesn't work anymore for some reason and I'm looking for some assistance in making it work now. I really need to cut down my electric bill and my son is constantly leaving his desktop on for hours on end.Any gurus out there up to the challenge?I am attempting to re-write the "inactive=" line using w instead of who but I'm not having much luck yet.

View 3 Replies View Related

CentOS 5 Hardware :: Laptop Audio Not Working?

Mar 24, 2011

I've got a Sager laptop that I'm tring to get audio working under Centos 5.5 64 bit. (It does work with the Win 7 boot). I followed FAQ #4 and did not find my Vendor:Device ID pairing on the Device ID page. Here's what I tried so far...

/sbin/lspci -v shows:
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
Subsystem: CLEVO/KAPOK Computer Unknown device 7200

[code]....

View 6 Replies View Related

Ubuntu :: Battery Not Appear In Laptop

Nov 24, 2010

My battery Icon dosn't showup.

I did

Code:

I recieve back

Code:

Traceback:

And I also did

Code:

View 9 Replies View Related

CentOS 5 :: Wireless Not Working On HP Compaq 6715s Laptop?

May 19, 2009

I've installed CENTOS 5.3 on my laptop, on dual boot with windows xp. The problem is that my wireless network manager doesn't find any networks. Another laptop with fedora 10 installed finds the network, so the problem is not the network. I guess it's a problem with the wireless driver / firmware, as i had this problem on fedora some time ago, and i've solved installing the firmware. Now i've installed the firmware, i rebooted, and it still doesn't find any network.

View 1 Replies View Related

CentOS 5 :: Dual Head - Screen - Not Working From Laptop - Stacktrace

Jun 5, 2009

I am running CentOs 5.3 x86_64 on a Dell Latitude E6400 and can't get dual head to work.

My graphics card(s) are Intel Mobile 4 integrated (one in the laptop, one in the docking station)

My displays are two Dell 2208 WFP

I run the "Display settings" GUI and select "Dual head", "Spanning desktops" with the right card & monitor.

When I restart X it fails to start with stack trace in the /var/log/Xorg.0.log file (full log attached)

Backtrace:

My /etc/X11/xorg.conf is below.

View 1 Replies View Related

Debian Hardware :: Driver For Battery In Laptop?

Feb 17, 2011

When I am working with Windows OS on the DELL-Vostro-1014 laptop the battery is working. If however I switch to Debian Squeeze OS the battery does not work. Running #hardinfo & shows that there is no battery. Am I right in assuming that the driver for the battery?

/sys/class/power_supply/BAT0 gives
model_name DELL X612G0
Serial No. 18069
manufacturer LG

What driver is needed, where to search for it and how to incorporate in the kernel 2.26.32-5-686 ?

View 2 Replies View Related

General :: Easy Way To Drain A Laptop Battery To 0?

Jul 16, 2011

I need a way to kill my battery in my Ubuntu laptop. Is there any mind numbing tasks I can Ubuntu do that will eat up the battery? I have already shut off the power management options. The battery is giving my issues and and someone said I should discharge it fully an recharge it from 0.

View 2 Replies View Related

Ubuntu :: Laptop Turns Off When Battery Is Not Empty?

May 2, 2010

Since I had updated to Lucid, I'm having some trouble with running my laptop on battery. It usually turns off when the battery notifier is still at 13%~18% (it is not shutting down, it is like when your battery runs out of energy). First I had thought that was a problem with the notifier and I was missing when the battery had no charge, but I kept looking at the notifier and suddenly when it had reached 15% my laptop just went down, without saving any job.

I've just upgraded to Lucid Lynx, running on a HP Pavilion dv4-1123us with 2.00 GHz Intel Core2 Duo T5800, 4GB RAM.

The battery is a 6-cell Lithium-Ion that came with the laptop.

I'd bought it about 1 year ago.

View 4 Replies View Related

Ubuntu :: Degrading Laptop Battery Capacity?

May 28, 2010

my laptop battery capacity has gone low due to constant charging or whatsoever reason. previously it was at 62% and within 2 months its gone down to 32%. I use the laptop atleast for 18hrs every day. so is ther any solution to prevent my battery from losing the capicity.

i use dell studio 15 laptop, with 3 gigs of ram, lithium ion battery(56Wh), ati card, using compiz, p8600 processor. i use this for app development and for listening to music and videos.

View 2 Replies View Related

Ubuntu :: Laptop Battery Dies Very Quickly?

Aug 22, 2010

Over the past few weeks I've noticed that my laptop battery is dieing VERY fast. I have no idea what is causing this, and I haven't changed anything.

View 6 Replies View Related

Ubuntu :: Display Battery Into Conky For Laptop?

Aug 29, 2010

I would like to display my battery into conky for my laptop, do you have /proc/acpi/battery/BAT0 ? - I cant find it

View 1 Replies View Related

Ubuntu :: How To Improve Laptop Battery Life

Feb 24, 2011

So I've been using Ubuntu on a Toshiba L645d, and after a few hiccups with the sound and wireless, it's finally working well now. However, the battery is still a bit less when compared to Windows 7 (2:00 vs 2:35, but it came with optimizations on W7 so that might be the reason. A comparison of power used: 25w of power on Ubuntu vs 17.5 on W7.

View 2 Replies View Related

General :: Laptop Freezes When On Battery Power

Jun 1, 2011

I've got a problem with my laptop and I finally decided to try to solve it. My computer sometimes (not everytime) freezes. It's just when I'm using battery power. I figured out that this is not connected with some specific action (e.g. some app crash), it can freeze 1 minute after start or 10 minutes, I think it's random. I've checked my /var/log/messages.log file and these are the last messages before freeze (exactly at 9:16:15):

Code:
Jun 1 07:16:09 localhost rtkit-daemon[2170]: Successfully made thread 3472 of process 3472 (/usr/bin/pulseaudio) owned by '120' high priori$
Jun 1 07:16:09 localhost rtkit-daemon[2170]: Successfully made thread 3473 of process 3472 (/usr/bin/pulseaudio) owned by '120' RT at prior$
Jun 1 07:16:09 localhost rtkit-daemon[2170]: Successfully made thread 3474 of process 3472 (/usr/bin/pulseaudio) owned by '120' RT at prior$
Jun 1 07:16:09 localhost rtkit-daemon[2170]: Successfully made thread 3475 of process 3472 (/usr/bin/pulseaudio) owned by '120' RT at prior$
Jun 1 09:16:09 localhost gdm-simple-greeter[3481]: Gtk-WARNING: gtkwidget.c:6794: widget not within a GtkWindow
Jun 1 09:16:09 localhost gdm-simple-greeter[3481]: WARNING: Unable to read from file /etc/arch-release
Jun 1 09:16:09 localhost gdm-simple-greeter[3481]: Gtk-WARNING: gtk_widget_size_allocate(): attempt to allocate widget with width -47 and h$
Jun 1 09:16:11 localhost logger: ACPI action undefined: BAT1
I'm using Arch Linux x64, Gnome Shell and have the newest updates.

What's wrong with my laptop? Where should I look for errors?

View 5 Replies View Related

Hardware :: Battery Not Recognized On Laptop But As Desktop / What To Do?

Apr 19, 2011

I have installed Ubuntu (both 10.10 and 11.04 pre-release) on my laptop but my battery is not recognized and it is detected as a desktop system rather than a laptop. I have tried the cat /proc/acpi/battery/BAT1/state method but the directory doesn't exist. I have tried another guide to paste the battery info into this directory but it doesn't allow me to do that and says that the directory doesn't exist, even though I'm trying to make it. I tried it in root nautilus and even on an install of Lubuntu (with a root file manager) but it still failed to budge. I really don't know what to do as I have tried all the guides on the Internet that I could find.

View 5 Replies View Related

Debian Multimedia :: Laptop Battery Monitor In LXDE

Apr 17, 2016

I managed to install Jessie on my new Lenovo Ideapad 100 and have been trying to put the finishing touches on it. I downloaded FDPowermonitor and the icon showed up right away. Then after a few minutes it went away and hasn't shown back up.

I think I need to modify /etc/xdg/lxsession/LXDE/autostart to include @fdpowermon but I cannot figure out how to have the permission and use a editor I understand.

I just log into LXDE with root... but there has got to be a better way yes? But that didn't work anyway...

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved