How do I turn off a laptop when it looses AC power

Posted: 01-22-2009, 03:16 PM
I am stuck using a laptop for an embedded solution. I need the laptop to tun
off as soon as it looses AC power. I tried using the low power settings and
using the shutdown computer settings but I have found it is buggy. Is there a
setting to do this or maybe a script I can use?

How do I turn off a laptop when it looses AC power


Responses to "How do I turn off a laptop when it looses AC power"

meerkat
Guest
Posts: n/a
 
Re: How do I turn off a laptop when it looses AC power
Posted: 01-22-2009, 03:31 PM

"chris" <chris @discussions.microsoft.com> wrote in message
news:72CB32C3-9FC6-481E-8872-81188AB3D5E7@microsoft.com...
>I am stuck using a laptop for an embedded solution. I need the laptop
>to tun
> off as soon as it looses AC power. I tried using the low power
> settings and
> using the shutdown computer settings but I have found it is buggy. Is
> there a
> setting to do this or maybe a script I can use?
>
Try running it without a battery pack.

When the AC stops... so does the laptop.

--
bw..


Roger
Guest
Posts: n/a
 
Re: How do I turn off a laptop when it looses AC power
Posted: 01-22-2009, 03:44 PM
meerkat wrote:
> Try running it without a battery pack.
>
> When the AC stops... so does the laptop.
Totally unwise.

chris
Guest
Posts: n/a
 
Re: How do I turn off a laptop when it looses AC power
Posted: 01-22-2009, 03:48 PM
This would work but I don't want to improperly shut down windows every day.

"meerkat" wrote:

> Try running it without a battery pack.
>
> When the AC stops... so does the laptop.
>
> --
> bw..
>
>
>
meerkat
Guest
Posts: n/a
 
Re: How do I turn off a laptop when it looses AC power
Posted: 01-22-2009, 03:57 PM

"chris" <chris@discussions.microsoft.com> wrote in message
news:AFFB75F1-05F1-47D7-8B0E-FFEB3A6AB986@microsoft.com...
> This would work but I don't want to improperly shut down windows every
> day.
>
You can still shut down normally,
ie. Start/Turn off Computer.

> "meerkat" wrote:
>
>
>> Try running it without a battery pack.
>>
>> When the AC stops... so does the laptop.
>>
>> --
>> bw..
>>
>>
>>

Ray Luca
Guest
Posts: n/a
 
Re: How do I turn off a laptop when it looses AC power
Posted: 01-22-2009, 04:27 PM
chris <chris @discussions.microsoft.com> wrote:
>I am stuck using a laptop for an embedded solution. I need the laptop to tun
>off as soon as it looses AC power
Wow. There's nothing worse than having loose AC power... except maybe
when you lose it altogether.
chris
Guest
Posts: n/a
 
Re: How do I turn off a laptop when it looses AC power
Posted: 01-22-2009, 05:51 PM
Chris... darn that loose power. Other than the spelling error... I have to
power off the system with a master switch. I want the laptop to power down
when it does not see AC power.
> chris <chris @discussions.microsoft.com> wrote:
>
> >I am stuck using a laptop for an embedded solution. I need the laptop to tun
> >off as soon as it looses AC power
>
> Wow. There's nothing worse than having loose AC power... except maybe
> when you lose it altogether.
>
Unknown
Guest
Posts: n/a
 
Re: How do I turn off a laptop when it looses AC power
Posted: 01-22-2009, 07:25 PM
He wants to shut down orderly when he LOSES AC power.
"meerkat" <waiting@meerkatmanor.com> wrote in message
news:RH0el.26133$HW6.10587@newsfe25.ams2...
>
> "chris" <chris@discussions.microsoft.com> wrote in message
> news:AFFB75F1-05F1-47D7-8B0E-FFEB3A6AB986@microsoft.com...
>> This would work but I don't want to improperly shut down windows every
>> day.
>>
> You can still shut down normally,
> ie. Start/Turn off Computer.
>
>
>> "meerkat" wrote:
>>
>>
>>> Try running it without a battery pack.
>>>
>>> When the AC stops... so does the laptop.
>>>
>>> --
>>> bw..
>>>
>>>
>>>
>
>

Frank Slootweg
Guest
Posts: n/a
 
Re: How do I turn off a laptop when it looses AC power
Posted: 01-22-2009, 08:55 PM
chris <chris @discussions.microsoft.com> wrote:
> I am stuck using a laptop for an embedded solution. I need the laptop to tun
> off as soon as it looses AC power. I tried using the low power settings and
> using the shutdown computer settings but I have found it is buggy. Is there a
> setting to do this or maybe a script I can use?
I don't understand the "low power settings", because *low* power
settings are only applicable to use on *battery* . i.e. it's not low
*power*, but low power *capacity*.

If with "shutdown computer settings" you mean *AC* power related
settings, then there *are* no such settings (only battery power related
ones).

So I'll assume that with "shutdown", you actually mean *stand-by* or
*hibernate*.

The "shutdown" settings being 'buggy' probably mean that the *system*
is buggy. There are lots of situations where a system will not shutdown/
go-to-standby/hibernate, because some software activity is 'hanging'. So
you have to fix that *first*, i.e. by doing repeated manual and timed
shutdowns/standbys/hibernates until that works flawlessly *each* time.

As to the actual solution: You can not do a quick *shutdown*, but you
can force a timed *standby* after 1 minute. So *first* let the system
go to standby after 1 minute and *then* to *hibernate* after some
acceptable time. If you combine that with the low battery power options,
you can force the system to *shutdown* after the battery has drained
enough.
Ray Luca
Guest
Posts: n/a
 
Re: How do I turn off a laptop when it looses AC power
Posted: 01-22-2009, 09:01 PM
chris <chris@discussions.microsoft.com> wrote:
>Chris... darn that loose power. Other than the spelling error... I have to
>power off the system with a master switch. I want the laptop to power down
>when it does not see AC power.
What you want to happen will NOT happen, bozo. If it did, your laptop
would never operate on battery power.

>> chris <chris @discussions.microsoft.com> wrote:
>>
>> >I am stuck using a laptop for an embedded solution. I need the laptop to tun
>> >off as soon as it looses AC power
>>
>> Wow. There's nothing worse than having loose AC power... except maybe
>> when you lose it altogether.
>>
 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bug#481493: battery: After power off, something not turn-off and consume power. maximilian attems Linux / Unix 1 05-16-2008 02:30 PM
Microtouch capacitive looses calibration on power off problem danis Windows XP Embedded 0 05-12-2008 07:39 AM
Turn off Auto Power Off yony Windows XP Performance & Maintenance 2 04-15-2004 07:39 PM
Computer looses all network settings when power is turned off Steve Winograd [MVP] Windows XP Network & Web 1 09-08-2003 02:41 PM
can't turn off power Kelli Windows XP Setup 1 07-15-2003 04:36 PM