A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows 7 » Windows 7 Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Can I make battery-dropout cause a "sleep"?



 
 
Thread Tools Rate Thread Display Modes
  #1  
Old February 23rd 19, 10:58 PM posted to alt.windows7.general
J. P. Gilliver (John)[_4_]
external usenet poster
 
Posts: 2,679
Default Can I make battery-dropout cause a "sleep"?

If that's the right name.

At present, if the battery runs down when I'm not looking, on restarting
the machine (by pressing the power button) after connecting the supply,
it does a restart similar to if I'd shut it down, other than that it
gives the "Windows did not shut down properly", and some app.s say
_they_ did not shut down properly.

Is it possible to set something so that the system does a "sleep",
"hibernate", or whatever, so that when I apply power and restart, it
wakes itself up how it was? If it is, what settings do I have to change
where?

I'm not talking about shutdowns instigated by an action, such as closing
the lid or pressing the power button. Is it even _possible_ to trap the
"battery is too low" situation?

W7 HP SP1 32-bit.
--
J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf

A. Top-posters.
Q. What's the most irritating thing on Usenet?
Ads
  #2  
Old February 23rd 19, 11:48 PM posted to alt.windows7.general
Jeff Barnett[_2_]
external usenet poster
 
Posts: 298
Default Can I make battery-dropout cause a "sleep"?

J. P. Gilliver (John) wrote on 2/23/2019 2:58 PM:
If that's the right name.

At present, if the battery runs down when I'm not looking, on restarting
the machine (by pressing the power button) after connecting the supply,
it does a restart similar to if I'd shut it down, other than that it
gives the "Windows did not shut down properly", and some app.s say
_they_ did not shut down properly.

Is it possible to set something so that the system does a "sleep",
"hibernate", or whatever, so that when I apply power and restart, it
wakes itself up how it was? If it is, what settings do I have to change
where?

I'm not talking about shutdowns instigated by an action, such as closing
the lid or pressing the power button. Is it even _possible_ to trap the
"battery is too low" situation?

W7 HP SP1 32-bit.


The home software that comes with APC UPS hardware does precisely that.
When a time limit (user settable) is reached during a power outage, an
hibernate is instituted.

The only problem I've noticed with this occurs when you have a very
large memory: For example, I have 64GB of memory and that takes quite
awhile to save even though my C disk is an SSD. This causes software to
time out and initiate a "panic" shutdown. Further, Windows and most OS
demand to save hibernation on your boot disk - this is left over from
the BIOS standard that's been around for years. So the hibernation file
eats a lot of boot disk space. As SSD prices drop and sizes increase,
this hit doesn't seem so bad.
--
Jeff Barnett
  #3  
Old February 23rd 19, 11:57 PM posted to alt.windows7.general
Ralph Fox
external usenet poster
 
Posts: 474
Default Can I make battery-dropout cause a "sleep"?

On Sat, 23 Feb 2019 21:58:47 +0000, J. P. Gilliver (John) wrote:

Subject: Can I make battery-dropout cause a "sleep"?
If that's the right name.

At present, if the battery runs down when I'm not looking, on restarting
the machine (by pressing the power button) after connecting the supply,
it does a restart similar to if I'd shut it down, other than that it
gives the "Windows did not shut down properly", and some app.s say
_they_ did not shut down properly.

Is it possible to set something so that the system does a "sleep",
"hibernate", or whatever, so that when I apply power and restart, it
wakes itself up how it was? If it is, what settings do I have to change
where?

I'm not talking about shutdowns instigated by an action, such as closing
the lid or pressing the power button. Is it even _possible_ to trap the
"battery is too low" situation?

W7 HP SP1 32-bit.



Yes, you can.
See https://www.howtogeek.com/howto/3963...-in-windows-7/
and https://www.thewindowsclub.com/chang...on-windows-8-7


I set mine to "hibernate", not "sleep". "Sleep" still uses power,
even if less. After too many hours in "sleep" the battery will
still run down and give the same problem.

The laptop takes a little longer to restart from "hibernate" than
from "sleep", but I think it is worth it to avoid the risk of
the battery running down.


--
Kind regards
Ralph
  #4  
Old February 24th 19, 01:31 AM posted to alt.windows7.general
J. P. Gilliver (John)[_4_]
external usenet poster
 
Posts: 2,679
Default Can I make battery-dropout cause a "sleep"?

In message , Ralph Fox
writes:
On Sat, 23 Feb 2019 21:58:47 +0000, J. P. Gilliver (John) wrote:

Subject: Can I make battery-dropout cause a "sleep"?
If that's the right name.

At present, if the battery runs down when I'm not looking, on restarting
the machine (by pressing the power button) after connecting the supply,
it does a restart similar to if I'd shut it down, other than that it
gives the "Windows did not shut down properly", and some app.s say
_they_ did not shut down properly.

Is it possible to set something so that the system does a "sleep",
"hibernate", or whatever, so that when I apply power and restart, it
wakes itself up how it was? If it is, what settings do I have to change
where?

I'm not talking about shutdowns instigated by an action, such as closing
the lid or pressing the power button. Is it even _possible_ to trap the
"battery is too low" situation?

W7 HP SP1 32-bit.



Yes, you can.
See
https://www.howtogeek.com/howto/3963...-battery-actio
n-in-windows-7/


Thank you. I find I already have "Critical battery action" set to
Hibernate (which I think is the default). I have changed "Critical
battery level" "On battery" from 2% to 3% - I'll see if that makes any
difference. I only have about 3G of RAM, so it shouldn't need long to
hibernate.

and
https://www.thewindowsclub.com/chang...attery-action-
windows-8-7

Thanks. That seems to lead to more or less the same area - except it
says you can set a full battery action (or at least notification) too; I
can't see that, but maybe that's only available in Windows 8, despite
what it said.

I set mine to "hibernate", not "sleep". "Sleep" still uses power,
even if less. After too many hours in "sleep" the battery will
still run down and give the same problem.


Yes, I'd go for hibernate too; I want it to save so it doesn't rely on
battery.

The laptop takes a little longer to restart from "hibernate" than
from "sleep", but I think it is worth it to avoid the risk of
the battery running down.

Indeed.

If it _has_ hibernated, should pressing the power button (after
reconnecting external power, of course) always make it do a
restore-from-hibernated-state, or can it be set to always boot as if
from cold? If it can, where is that setting (so I can make sure it's set
to restore-from-hibernate)?

I also have both low and critical set to make a sound (a klaxon and a
train whistle respectively), and these settings are definitely there
when I check them after I've done a restart (and the sounds play when I
click the test button): however, the last two times, I'm sure I didn't
hear them, and I was sitting here by - in fact using - the computer when
the battery ran down.
--
J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf

"Bugger," said Pooh, feeling very annoyed.
  #5  
Old February 24th 19, 02:17 AM posted to alt.windows7.general
Mike
external usenet poster
 
Posts: 185
Default Can I make battery-dropout cause a "sleep"?

On 2/23/2019 4:31 PM, J. P. Gilliver (John) wrote:
In message , Ralph Fox
writes:
On Sat, 23 Feb 2019 21:58:47 +0000, J. P. Gilliver (John) wrote:

Subject: Can I make battery-dropout cause a "sleep"?
If that's the right name.

At present, if the battery runs down when I'm not looking, on restarting
the machine (by pressing the power button) after connecting the supply,
it does a restart similar to if I'd shut it down, other than that it
gives the "Windows did not shut down properly", and some app.s say
_they_ did not shut down properly.

Is it possible to set something so that the system does a "sleep",
"hibernate", or whatever, so that when I apply power and restart, it
wakes itself up how it was? If it is, what settings do I have to change
where?

I'm not talking about shutdowns instigated by an action, such as closing
the lid or pressing the power button. Is it even _possible_ to trap the
"battery is too low" situation?

W7 HP SP1 32-bit.



Yes, you can.
See
https://www.howtogeek.com/howto/3963...-battery-actio
n-in-windows-7/


Thank you. I find I already have "Critical battery action" set to
Hibernate (which I think is the default). I have changed "Critical
battery level" "On battery" from 2% to 3% - I'll see if that makes any
difference. I only have about 3G of RAM, so it shouldn't need long to
hibernate.

and
https://www.thewindowsclub.com/chang...attery-action-
windows-8-7

Thanks. That seems to lead to more or less the same area - except it
says you can set a full battery action (or at least notification) too; I
can't see that, but maybe that's only available in Windows 8, despite
what it said.

I set mine to "hibernate", not "sleep".Â* "Sleep" still uses power,
even if less.Â* After too many hours in "sleep" the battery will
still run down and give the same problem.


Yes, I'd go for hibernate too; I want it to save so it doesn't rely on
battery.

The laptop takes a little longer to restart from "hibernate" than
from "sleep", but I think it is worth it to avoid the risk of
the battery running down.

Indeed.

If it _has_ hibernated, should pressing the power button (after
reconnecting external power, of course) always make it do a
restore-from-hibernated-state, or can it be set to always boot as if
from cold? If it can, where is that setting (so I can make sure it's set
to restore-from-hibernate)?

I also have both low and critical set to make a sound (a klaxon and a
train whistle respectively), and these settings are definitely there
when I check them after I've done a restart (and the sounds play when I
click the test button): however, the last two times, I'm sure I didn't
hear them, and I was sitting here by - in fact using - the computer when
the battery ran down.


There are many possibilities.
Rather than make a bunch of assumptions, it might be helpful to learn
the model number, the battery technology and age and whether this is a new
problem or an old problem.
What's the expected life of the battery? What is the time to failure?
Does the battery gauge dribble down approximately linearly to the end,
or does the drop seem normal down to some number above zero, then drop
instantly to a much lower level?

I've done a lot of battery testing.
Batteries have varying degrees of protection, but most have at least two.
The coulomb counter knows how many electrons it put into the battery
and how many have been removed.
There's a voltage sensor that shuts down to protect the battery if
action is not taken by the coulomb counter.

The coulomb counter can get out of sync with the battery.
Sometimes, there's a battery calibration routine that can help.

The other big problem is that batteries often fail by increased internal
resistance. The coulomb counter knows there are electrons left, but the
voltage sensor says, "no way Jose."
That may be triggered by a high current surge, like a disk seek.

Most of the "bad" batteries I tested let me have all the electrons at low
current, but would shut down on typical high-current laptop surges.

If that's your problem, an emergency hibernation save of 3GB to the hard
drive
makes the problem worse, not better.

I always set the warning level to 20% or more, made sure I saved all
work when it hit that level and started looking for an outlet.
2% is not enough when you have a tiny high performance laptop with a small
battery.

I've had some short-term success with Lithium batteries by opening up
the pack
and manually balancing the cells.

Hibernation was useful back when operating systems were small and you
had 256KB of RAM. Today, not so much.

Win10 bloat is making it all much worse. I have laptops that have only
a few minutes
of useful life after booting if I expect to shutdown without crashing...
assuming an update doesn't happen...grrr!!!

So, set your warning level much higher, turn off hibernation.
powercfg -h off



  #6  
Old February 24th 19, 02:53 AM posted to alt.windows7.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Can I make battery-dropout cause a "sleep"?

J. P. Gilliver (John) wrote:
If that's the right name.

At present, if the battery runs down when I'm not looking, on restarting
the machine (by pressing the power button) after connecting the supply,
it does a restart similar to if I'd shut it down, other than that it
gives the "Windows did not shut down properly", and some app.s say
_they_ did not shut down properly.

Is it possible to set something so that the system does a "sleep",
"hibernate", or whatever, so that when I apply power and restart, it
wakes itself up how it was? If it is, what settings do I have to change
where?

I'm not talking about shutdowns instigated by an action, such as closing
the lid or pressing the power button. Is it even _possible_ to trap the
"battery is too low" situation?

W7 HP SP1 32-bit.


A laptop has detection of "0% charge" and
the laptop is expected to make a response to
that condition.

The computer could be doing a number of things at
the time.

1) In run state, battery enters 0%

2) In Sleep State (S3) at the time (session in RAM)
3) In Hybrid Sleep State (S3) at the time (session in RAM, session in hiberfil.sys)
4) In Hibernate (S4) state ( session in hiberfil.sys)
5) System in S5 shutdown ( )

In case (1), you can select S4 or S5 as responses.
S3 is inappropriate by itself, because S3 still
uses power (about 1 watt per DIMM for autorefresh).
Being at 0% battery and enabling S3 sleep (RAM running)
would be dumb, as you're driving the battery into the
danger zone on purpose.

In case (2), the machine could wake long enough to
transfer RAM contents to hiberfil.sys and enter S4.

In case (3), machine can enter S5 without consequences,
because the session is "dually stored" and the hiberfil
has you covered.

In case (4), there is no need to do anything, as in
S4 the platform is already in a low power state (RAM is off).
But, they could wake temporarily and enter S5.

In case (5), it would be nice to do something, but the
machine might not have any useful action available to it
as it is in S5. (In fact, PME options in that state might
be limited to the Power Button.) If the battery drops
too low below 0%, the battery charger may refuse to recharge
the battery because of safety reasons (plating under
reverse bias on a multi-cell lithium pack).

*******

So the answer is "Yes, the machine has some detections"

1) Lid close switch on laptop - typically set to trigger S3 Sleep
or S3 Hybrid Sleep. When (2) happens, machine will transition
to a lower power state like S4 or S5.

2) Low battery indicator - should cause a transition from
the current state, say S0 or S3, to S4 or S5.

A number of criteria are covered in a Power Schema. ACPI
has Power Schema, convenient "containers" of state machine
info as to what to do and when.

Before heading off on a "mission" such as this one, you
inspect the shutdown menu, to see if the shutdown menu
is "full" or is "missing some stuff". For example, on a
virtual machine, there's no sleep or hibernate, on purpose.
But similar things happen on real machines, due to bugs,
or due to user settings.

So the first thing you have to do, is make sure your
shutdown menu is full.

An example of dumb things that can happen. It would be
dumb to be using GPEDIT to mess up these settings. Life
is hard enough, without puzzles.

https://www.tenforums.com/tutorials/...dows-10-a.html

The normal foulup can be found here, in the Power control panel.

https://www.tenforums.com/tutorials/...dows-10-a.html

https://www.tenforums.com/attachment...ton_does-2.png

Notice there are both Sleep and Hibernate radio buttons there.

In an administrator Command Prompt, you would want to do

powercfg /h on

to indicate you want a hiberfile. Note that the hiberfile has
a "percentage size". On an early Win10, a 64GB machine "wanted"
a 48GB hiberfil.sys file. Some compression is involved, and
some heuristics. If a person goes to a great deal of trouble,
they can run a single program that uses all 64GB of memory,
yet fills the memory with "incompressible data". This will
cause a hibernation failure, unless the person doing the
test has set the hiberfil.sys to "100%". The hiberfil.sys
can be reduced to at least 50% of system RAM. Maybe even
lower when you install the OS, and the installer "makes do"
with the too-little storage you offered. A Windows installer
attempts to leave 3GB of space free on C: at the end of installation,
and any "slack" above that amount, can be assigned to the
giant hiberfil.sys.

The hiberfil.sys file is "reserved space". A hard reservation.
The hibernation operation, on the other hand, only writes out
data for the "used" portion of RAM. If you're sitting idle in
the desktop, maybe a little less than 1GB needs to be recorded.
Even though you have 64GB of RAM. A machine with only 2GB of
RAM, might write slightly less than the giant machine, but it
still writes out on hibernation.

So once my hibernation file is present, and I did

dir /ah C:

and verified a hiberfil.sys of sufficient size is present,
then I go to the Power control panel for a look. And see if
my "buttons" are enabled.

After I've ticked my radio buttons, I want to verify
all is well. I go look at the Shutdown menu. Is the menu
full of sleep, hibernate, shutdown items ?

If hibernate is enabled, then you can do hybrid sleep instead
of sleep. This will "slow down" ordinary sleep requests. You
will see extensive LED activity when entering sleep. When
you close the lid (and lid closure is set to sleep), you
would then have LED activity for (potentially, pathologically)
minutes and minutes. On more mundane situations, the writeout
takes ten seconds. Vanilla sleep, without hibernation combined
with it, could reduce that time further, but the OS still
putters around when sleeping, such as "parking" processes
that have left the disk in a "dangerous" state. Maybe if
you're defragging the disk, time is needed to finish the
current defrag API calls properly. This could take minutes,
if it has half a mind.

"Why is hybrid sleep off by default on laptops? (and how do I turn it on?)"

https://blogs.msdn.microsoft.com/old...10-00/?p=10703

"Hybrid sleep is a type of sleep state that combines
sleep and hibernate. When you put the computer into a
hybrid sleep state, it writes out all its RAM to the
hard drive (just like a hibernate), and then goes into
a low power state that keeps RAM refreshed (just like
a sleep). The idea is that you can resume the computer
quickly from sleep, but if there is a power failure or
some other catastrophe, you can still restore the computer
from hibernation.

If you're a command line sort of person, you can use this (uses aliases
instead of GUIDs).

powercfg -setacvalueindex SCHEME_BALANCED SUB_SLEEP HYBRIDSLEEP 1

powercfg -q # query settings of current schema
# like "Balanced" or "High Performance"
"

And what that tells you is, there is a "progression" of controls.
Some controls are common enough, that GUI radio buttons
exist for enabling them. Other controls are "low-runners",
so we make the user "bob for apples" if we need the function.
Rest assured, there is a rats nest of GUIDs at the bottom
of that mess. Someone once reported there could be 200
registry values associated with ACPI, and I suspect that
estimate is on the low side.

It took me a total of *six* screen shots, to collect all the nuances
of the Power control panel. This is for the Win10 in the Test Machine
right now. Hibernate was off on the machine I just
upgraded to 1809. These are the precursor steps before GUI-land.
In Administrator command prompt. This approach works on WIn7 too
(I tried it).

powercfg /hibernate /size 100 # implicit ON
powercfg /h on # but switch it ON anyway
dir /ah C: # then check for a hiberfil.sys

This picture is of Windows 10. Windows 7 shares many
of these same "features". But the deck chairs have been
moved around on Windows 10.

https://i.postimg.cc/zv4TZYGr/Win10-...l-Settings.gif

Here is a picture for Win7. I would really need a laptop
to do this properly, which means changing drives and so on.
(The wrong drive is in the laptop at the moment.)

https://i.postimg.cc/ZqMyGhR5/Win7-Power-Control.gif

Anyway, the toughest part is finding the controls. Between
sevenforums.com and tenforums.com, you should be able
to find enough "tutorials" for any of these controls.

Paul
  #7  
Old February 24th 19, 04:21 AM posted to alt.windows7.general
Ralph Fox
external usenet poster
 
Posts: 474
Default Can I make battery-dropout cause a "sleep"?

On Sun, 24 Feb 2019 00:31:09 +0000, J. P. Gilliver (John) wrote:

In message , Ralph Fox
writes:
On Sat, 23 Feb 2019 21:58:47 +0000, J. P. Gilliver (John) wrote:

Subject: Can I make battery-dropout cause a "sleep"?
If that's the right name.

At present, if the battery runs down when I'm not looking, on restarting
the machine (by pressing the power button) after connecting the supply,
it does a restart similar to if I'd shut it down, other than that it
gives the "Windows did not shut down properly", and some app.s say
_they_ did not shut down properly.

Is it possible to set something so that the system does a "sleep",
"hibernate", or whatever, so that when I apply power and restart, it
wakes itself up how it was? If it is, what settings do I have to change
where?

I'm not talking about shutdowns instigated by an action, such as closing
the lid or pressing the power button. Is it even _possible_ to trap the
"battery is too low" situation?

W7 HP SP1 32-bit.



Yes, you can.
See
https://www.howtogeek.com/howto/3963...-battery-actio
n-in-windows-7/


Thank you. I find I already have "Critical battery action" set to
Hibernate (which I think is the default). I have changed "Critical
battery level" "On battery" from 2% to 3% - I'll see if that makes any
difference. I only have about 3G of RAM, so it shouldn't need long to
hibernate.



This laptop is set to 5%, and I don't recall ever changing it.

From my old (previous) laptop I know that once the battery gets old and
loses capacity then 5% will not be enough to successfully hibernate.


and
https://www.thewindowsclub.com/chang...attery-action-
windows-8-7

Thanks. That seems to lead to more or less the same area - except it
says you can set a full battery action (or at least notification) too; I
can't see that, but maybe that's only available in Windows 8, despite
what it said.

I set mine to "hibernate", not "sleep". "Sleep" still uses power,
even if less. After too many hours in "sleep" the battery will
still run down and give the same problem.


Yes, I'd go for hibernate too; I want it to save so it doesn't rely on
battery.

The laptop takes a little longer to restart from "hibernate" than
from "sleep", but I think it is worth it to avoid the risk of
the battery running down.

Indeed.

If it _has_ hibernated, should pressing the power button (after
reconnecting external power, of course) always make it do a
restore-from-hibernated-state, or can it be set to always boot as if
from cold? If it can, where is that setting (so I can make sure it's set
to restore-from-hibernate)?



Here, it always restores from hibernated state.

There is this from Microsoft:
https://support.microsoft.com/en-nz/...hat-is-running

If that did anything to the battery low action, I suspect it might stop
it from hibernating (i.e. stop it from saving to hiberfil.sys).


I also have both low and critical set to make a sound (a klaxon and a
train whistle respectively), and these settings are definitely there
when I check them after I've done a restart (and the sounds play when I
click the test button): however, the last two times, I'm sure I didn't
hear them, and I was sitting here by - in fact using - the computer when
the battery ran down.



--
Kind regards
Ralph
  #8  
Old February 24th 19, 11:47 AM posted to alt.windows7.general
J. P. Gilliver (John)[_4_]
external usenet poster
 
Posts: 2,679
Default Can I make battery-dropout cause a "sleep"?

In message , Mike
writes:
[]
There are many possibilities.
Rather than make a bunch of assumptions, it might be helpful to learn
the model number, the battery technology and age and whether this is a new
problem or an old problem.


Model: Toshiba Portégé. Battery technology: it says "Li-ion" on the
battery pack. AFAIK, the machine behaviour has not changed.

What's the expected life of the battery? What is the time to failure?


If you mean minutes, I'm not sure - I think about 90 (that's another
thing: I know _sometimes_ when I hover over the power icon in the tray
it gives it me in minutes; however, most of the time, it gives me a
percentage. I don't know how to get the other one). If you mean years,
I'm not sure again, but it's only a few months old.

Does the battery gauge dribble down approximately linearly to the end,
or does the drop seem normal down to some number above zero, then drop
instantly to a much lower level?


Again, I don't know; when I've looked, it seems to be going down
reasonably smoothly, but I can't say for near the end as I don't usually
deliberately run it there. I _have_ occasionally had the low and
critical warnings, though (I think - certainly one of them).
[]
2% is not enough when you have a tiny high performance laptop with a small
battery.


It's a medium performance machine (probably slow by today's standards_ -
sticker says it's an i3 processor. The battery is about 6 Ah (I refuse
to talk in mAh).

I've had some short-term success with Lithium batteries by opening up
the pack
and manually balancing the cells.


I would have in the past. CBA now.

Hibernation was useful back when operating systems were small and you
had 256KB of RAM. Today, not so much.


I really just want it to hibernate if I've accidentally knocked out the
power lead and not noticed (-:!


Win10 bloat is making it all much worse. I have laptops that have only
a few minutes
of useful life after booting if I expect to shutdown without crashing...
assuming an update doesn't happen...grrr!!!


They probably have huge RAM, as well as taking ages to boot.

So, set your warning level much higher, turn off hibernation.
powercfg -h off

That seems rather pointless for my usage pattern.


[]
--
J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf

Astaire was, of course, peerless, but it's worth remembering that Rogers does
everything he does, only backwards and in high heels. - Barry Norman in Radio
Times 5-11 January 2013
  #9  
Old February 24th 19, 05:17 PM posted to alt.windows7.general
Frank Slootweg
external usenet poster
 
Posts: 1,226
Default Can I make battery-dropout cause a "sleep"?

"J. P. Gilliver (John)" wrote:
[...]
Thank you. I find I already have "Critical battery action" set to
Hibernate (which I think is the default). I have changed "Critical
battery level" "On battery" from 2% to 3% - I'll see if that makes any
difference. I only have about 3G of RAM, so it shouldn't need long to
hibernate.


As Ralph also mentioned, 2 or 3% is very low and most likely too low.

FYI, my HP laptop is set to 9% and that is the (installation) default
setting.
  #10  
Old February 24th 19, 07:00 PM posted to alt.windows7.general
Char Jackson
external usenet poster
 
Posts: 10,449
Default Can I make battery-dropout cause a "sleep"?

On 24 Feb 2019 16:17:39 GMT, Frank Slootweg
wrote:

"J. P. Gilliver (John)" wrote:
[...]
Thank you. I find I already have "Critical battery action" set to
Hibernate (which I think is the default). I have changed "Critical
battery level" "On battery" from 2% to 3% - I'll see if that makes any
difference. I only have about 3G of RAM, so it shouldn't need long to
hibernate.


As Ralph also mentioned, 2 or 3% is very low and most likely too low.

FYI, my HP laptop is set to 9% and that is the (installation) default
setting.


I think my Dell defaulted to 15%, but I bumped it to 20% so long ago
that I don't remember anymore. Regardless, IMHO 2-3% seems ridiculously
low to me.

--

Char Jackson
  #11  
Old February 24th 19, 10:30 PM posted to alt.windows7.general
J. P. Gilliver (John)[_4_]
external usenet poster
 
Posts: 2,679
Default Can I make battery-dropout cause a "sleep"?

In message , Char Jackson
writes:
On 24 Feb 2019 16:17:39 GMT, Frank Slootweg
wrote:

"J. P. Gilliver (John)" wrote:
[...]
Thank you. I find I already have "Critical battery action" set to
Hibernate (which I think is the default). I have changed "Critical
battery level" "On battery" from 2% to 3% - I'll see if that makes any
difference. I only have about 3G of RAM, so it shouldn't need long to
hibernate.


As Ralph also mentioned, 2 or 3% is very low and most likely too low.

FYI, my HP laptop is set to 9% and that is the (installation) default
setting.


I think my Dell defaulted to 15%, but I bumped it to 20% so long ago
that I don't remember anymore. Regardless, IMHO 2-3% seems ridiculously
low to me.

I didn't set it to 2% - in fact until told earlier in this thread, I
didn't know that it was adjustable, let alone how to do so.

Given that fully charged is I think 107 minutes (I still don't know how
to switch what is shown when I hover over the tray symbol between
percentage and hour-and-minutes), then I agree 2% or even 3% seems a bit
optimistic for 3G of RAM. I might put it up some more.
--
J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf

Just seen a Dyslexic Yorkshireman wearing a cat flap!
  #12  
Old February 27th 19, 12:52 AM posted to alt.windows7.general
Stan Brown
external usenet poster
 
Posts: 2,904
Default Can I make battery-dropout cause a "sleep"?

On Sun, 24 Feb 2019 21:30:55 +0000, J. P. Gilliver (John) wrote:
Given that fully charged is I think 107 minutes


Time for a new battery, methinks. Even the absolute worst batteries
get 2 to 3 hours when new, and significantly longer times are not
uncommon.

My Asus laptop got 8 hours or more on a full charge when it was new,
and it still gets around 6. (I don't keep careful track, just plug it
in when it ells me to -- and that's at 10%.)


--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://BrownMath.com/
http://OakRoadSystems.com/
Shikata ga nai...
  #13  
Old February 27th 19, 07:54 AM posted to alt.windows7.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Can I make battery-dropout cause a "sleep"?

Stan Brown wrote:
On Sun, 24 Feb 2019 21:30:55 +0000, J. P. Gilliver (John) wrote:
Given that fully charged is I think 107 minutes


Time for a new battery, methinks. Even the absolute worst batteries
get 2 to 3 hours when new, and significantly longer times are not
uncommon.

My Asus laptop got 8 hours or more on a full charge when it was new,
and it still gets around 6. (I don't keep careful track, just plug it
in when it ells me to -- and that's at 10%.)


It depends on whether your laptop is a "brute" or not.

On the Asus thing with dual MXM in SLI, that
gets less than 20 minutes or so. And it's recommended
when gaming with it, to just leave the (two!) power
adapters plugged in. It's not really meant to be
"mobile" as such.

A 10 hour battery life is possible if your CPU
has a 2W SDP. More power is wasted on I/O and display,
than on the CPU in such cases.

Two hours might be a good median for a commodity
laptop, but there's no way of predicting with
any accuracy, what some random laptop should offer.
Some laptops for example, have two battery pack models,
one with more cells than the other, so the number
on those depends on which pack type is installed.

The best metric, is to collect statistics under controlled
conditions when the thing is new. Then compare battery
life later, to that figure.

Paul
  #14  
Old March 5th 19, 05:29 AM posted to alt.windows7.general
Diesel
external usenet poster
 
Posts: 344
Default Can I make battery-dropout cause a "sleep"?

"J. P. Gilliver (John)"
Sat, 23 Feb 2019 21:58:47 GMT in
alt.windows7.general, wrote:

If that's the right name.

At present, if the battery runs down when I'm not looking, on
restarting the machine (by pressing the power button) after
connecting the supply, it does a restart similar to if I'd shut it
down, other than that it gives the "Windows did not shut down
properly", and some app.s say _they_ did not shut down properly.

Is it possible to set something so that the system does a "sleep",
"hibernate", or whatever, so that when I apply power and restart,
it wakes itself up how it was? If it is, what settings do I have
to change where?

I'm not talking about shutdowns instigated by an action, such as
closing the lid or pressing the power button. Is it even
_possible_ to trap the "battery is too low" situation?

W7 HP SP1 32-bit.


Your battery is dropping out too fast for the laptop to do a proper
shutdown. You can try adjusting the percentage remaining for it to
declare the battery is dying and try to get in sleep mode. Check power
management settings. If it's offering to enter sleep at 10% or so,
increase that to 20% to give your laptop more time to try and
gracefully power down; since the battery is going quickly when it
reaches near empty.


--
Manure Occurs.
  #15  
Old March 5th 19, 05:29 AM posted to alt.windows7.general
Diesel
external usenet poster
 
Posts: 344
Default Can I make battery-dropout cause a "sleep"?

"J. P. Gilliver (John)"
Sun, 24 Feb 2019 00:31:09 GMT in
alt.windows7.general, wrote:

In message , Ralph Fox
writes:
On Sat, 23 Feb 2019 21:58:47 +0000, J. P. Gilliver (John) wrote:

Subject: Can I make battery-dropout cause a "sleep"?
If that's the right name.

At present, if the battery runs down when I'm not looking, on
restarting the machine (by pressing the power button) after
connecting the supply, it does a restart similar to if I'd shut
it down, other than that it gives the "Windows did not shut down
properly", and some app.s say _they_ did not shut down properly.

Is it possible to set something so that the system does a
"sleep", "hibernate", or whatever, so that when I apply power
and restart, it wakes itself up how it was? If it is, what
settings do I have to change where?

I'm not talking about shutdowns instigated by an action, such as
closing the lid or pressing the power button. Is it even
_possible_ to trap the "battery is too low" situation?

W7 HP SP1 32-bit.



Yes, you can.
See
https://www.howtogeek.com/howto/3963...e-low-battery-
actio n-in-windows-7/


Thank you. I find I already have "Critical battery action" set to
Hibernate (which I think is the default). I have changed "Critical
battery level" "On battery" from 2% to 3% - I'll see if that makes
any difference. I only have about 3G of RAM, so it shouldn't need
long to hibernate.


Ahh. You really should raise that value a little more. Your battery
has some age on it and it's showing. It drops out from what the
laptop thinks is 2% too fast for it to gracefully shut windows down.
Give it more time by increasing that value.

Yes, I'd go for hibernate too; I want it to save so it doesn't
rely on battery.


It's going to need more time then. Hibernate is taking the system
states in ram and storing it all on disk for you. It needs a little
additional time to do this. If the battery reaches 2% but is really
about to drop out, your laptop won't have enough time to complete
hibernate prep work.

If it _has_ hibernated, should pressing the power button (after
reconnecting external power, of course) always make it do a
restore-from-hibernated-state, or can it be set to always boot as
if from cold? If it can, where is that setting (so I can make sure
it's set to restore-from-hibernate)?


If it's hibernated, pressing the power button will bring it back
online and 'resume' where you left off. If you'd prefer it boot cold,
then instead of hibernate when battery reaches %, select shutdown
instead.

I also have both low and critical set to make a sound (a klaxon
and a train whistle respectively), and these settings are
definitely there when I check them after I've done a restart (and
the sounds play when I click the test button): however, the last
two times, I'm sure I didn't hear them, and I was sitting here by
- in fact using - the computer when the battery ran down.


Your battery has one or more weak cells now. It's no longer able to
remain stable at lower percentages. It's going from 2% to
insufficient voltage to keep the laptop going too fast for your
laptop to signal what's going on or properly
shutdown/sleep/hibernate.

Either get a new battery or increase the percentage value for when
the laptop should consider the battery near dead and shutdown.

--
How did a fool and his money get together in the first place?
 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 09:28 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.