Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Notebook battery as UPS, Need help with this idea!!< Next Oldest | Next Newest >
jrader Offline





Group: Members
Posts: 1
Joined: Aug. 2005
Posted: Aug. 07 2005,02:08 QUOTE

Here's a little history on my project... I'm stripping an older notebook down and mounting on a pic frame to make a digital picture frame. Also, it will be my mp3 server. I know Linux doesn't like having power cut, so I thought I could use the battery as a UPS. I have limited experience in scripting though, so I was wondering if anyone could help me out. For example, if someone unplugs the frame or the power gets cut, I want the computer to execute shutdown once it hits 20% battery left. If anyone has an idea they could throw my way, it'd be much appreciated.  :) Thanks.
Back to top
Profile PM 
mgmont Offline





Group: Members
Posts: 77
Joined: April 2005
Posted: Aug. 10 2005,02:55 QUOTE

Here are my thoughts on your project.

I can't help you with the battery control, but I have a suggestion.  You could replace the hard drive with an ide to cf adapter and do a frugal install to the cf.  You could partition the cf into two partitions, one for frugal and one for pictures, mp3s and  programs and/or you could put pictures and mp3s on a thumb drive if the laptop has a USB port.  This way you could lose power or pull the plug and nothing would be corrupted or damaged.  The operating system is read only and if installed on a cf, there is no hard drive to crash or get corrupted.  

I have been running the laptop that I am typing this response on for several months with that configuration with great success.  If I pull the plug or hit the off button, I only loose what was changed in ram in the current session.  Also every thing runs much faster from a cf than a hard drive.

Good luck, let us know how your project turns out.
Back to top
Profile PM 
TomTheGeek Offline





Group: Members
Posts: 3
Joined: Dec. 2005
Posted: Dec. 26 2005,06:00 QUOTE

I am doing the same thing with a laptop and I was wondering if there is a way to have it automatically shut down when it goes to battery power. That way all i'd have to do is pull the plug if I wanted it to shut down.
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Dec. 27 2005,19:34 QUOTE

I'm sure that there is a way to execute a script to do this.

Basically, it would execute a "halt" command when it sensed battery power.

Reading up on the subject with google search for linux APM power script or linux ACPI power script might help.
Back to top
Profile PM 
300c_pilot Offline





Group: Members
Posts: 217
Joined: Dec. 2005
Posted: Jan. 09 2006,06:10 QUOTE

I am no help on your question, but a battery will last a lot longer if only a cf card is drawing juice, instead of a hd. Good luck, would like to know what you end up doing?

--------------
300c_Pilot
Boise, Idaho
Back to top
Profile PM WEB 
8 replies since Aug. 07 2005,02:08 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Notebook battery as UPS

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code