In article <rqdsls$url$
1...@dont-email.me>, William Unruh <
un...@invalid.ca>
wrote:
> On 2020-12-04, Jim Lesurf <
no...@audiomisc.co.uk> wrote:
> > For some years one of the mains-powered Linux machines I use has had a
> > habit of being reluctant to 'wake up in the morning'...
> >
> > I'd decided that it happened because I always power it down *and*
> > switch off its mains supply every night. Although it didn't happen
> > during the first year or more I used it. And, yes, I have regularly
> > replaced the 'keeper' internal battery and this made no difference.
> Switching of the mains should not make a difference. If you really shut
> the machine down, and not just "sleep" it (which may well be what was
> happening) then switching off the mains should be irrelevant.
Yes, it should. On that I agree entirely.
Alas, in this world 'should' isn't inevitably a synonym for 'does'. You
only have to glance at Governments to notice this. :-)
cf below...
> >
> > However about 4 months ago I got a really fast nice new laptop. Been
> > using it to process loads of files every day. Each day I mostly use it
> > being powered with its mains PSU to ease the load on its internal
> > batteries.
> >
> > Yesterday it failed to start when I pressed its 'wake up' button.
> > Repeated tries with and without the external PSU failed.... Puzzled
> > and worried.
> >
> > So this morning I tried holding down its 'wake up' button for 5 mins.
> > [1] Released it. Nope, no coconut.
> Sounds like it was asleep, not off, and when you held down the power
> button for for 5 min actually shut it off. Then when you pressed it
> again, it started up on its cold boot.
I have reasons to doubt this, again cf below...
> No, No mains connected computer assumes it will always be mains
> connected. It would be a very silly design if it did. Power goes off for
> many reasons (lightning, storms, moving the computer from one room to
> another, power saving,....)
I agree. But refer back to the lack of synonym for 'should'. :-)
The conclusion that I am actually telling the machines to sleep seems odd
when I add more information.
1) I also have two other mains powered machines, and another laptop. None
of them ever do this. Had then for years.
2) The all run various releases of the same distro (xfce Mint). And the
older ones have run various releases of this distro.
3) I remove the mains power from the mains-powered machines when I shut
them down.
4) The problem has only occured overnight, not during any daytime shutdown
and later restart.
5) Since it first manifested I have taken extra care to always use the
standard desktop sequence which leads me via the xfce desktop to being able
to click on the 'shutdown' icon/button and avoid the other choices.
So the implication of your diagnosis is that for some reason xfce Mint
versions have a problem on two specific machines and a desktop chosen
'shutdown' icon click causes a 'sleep' instead. Or that for some reason
only on two machines I keep clicking the wrong icon by mistake, but not on
the others.
BTW I don't ever shut the lid of a laptop when it is on. I shutdown the
system first. (True for the older laptop that has never shown this problem,
and for the new one.)
BTW2 The situation is complicated as I encountered the problem yesterday
morning and at the time didn't try holding the on button down for more than
about 2 mins to see if that helped. I then left it overnight until about
mid-day to-day, without it having any mains power. I was a bit worried that
there might be a battery problem. So it was left unpowered for well over 12
hours. I then tried a 5 min press - again no mains power - then released
the button and waited a short time. No sign of startup. So pressed the
button... and got a cigar at last! One of the first things I did was check
the battery state and the report was IIRC 97% charged. I don't know how
much charge a 'sleep' would have drawn, but that implies it must be tiny if
it was asleep.
Before all that I was previously using it with the mains supply / charger
connected as that is the norm because it is getting very heavy use. Full
CPU and fan going. Been doing that for months on most days without seeing
this problem.
So you might be correct, but I have reasons to find it hard to believe at
present.
Jim