* Re: [OFFTOPIC] (was: [PATCH] Fix battery information on FreeBSD)
@ 2019-03-12 15:54 Ahmed Khanzada
2019-03-14 3:55 ` graceful shutdown response to temperature climb Van L
0 siblings, 1 reply; 2+ messages in thread
From: Ahmed Khanzada @ 2019-03-12 15:54 UTC (permalink / raw)
To: emacs-devel
Love the Joni Mitchell quote, and her music.
I am interested in helping all things BSD in Emacs. Do you think the
best way to duplicate your error is to create a scenario like yours?
I'm also confused on a detail: did elisp or the OS trigger a shutdown
when a certain temperature was reached?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: graceful shutdown response to temperature climb
2019-03-12 15:54 [OFFTOPIC] (was: [PATCH] Fix battery information on FreeBSD) Ahmed Khanzada
@ 2019-03-14 3:55 ` Van L
0 siblings, 0 replies; 2+ messages in thread
From: Van L @ 2019-03-14 3:55 UTC (permalink / raw)
To: emacs-devel
Ahmed Khanzada <me@enzu.ru> writes:
> Love the Joni Mitchell quote, and her music.
Me too. What an artist. She paints to recharge her creativity batteries
for music, as a farmer does by letting the land lie fallow.
> I am interested in helping all things BSD in Emacs. Do you think the
> best way to duplicate your error is to create a scenario like yours?
On NetBSD-8 stable /usr/sbin/envstat lists
-- quote
Current CritMax WarnMax WarnMin CritMin Unit
temperature: 73.000 127.000 degC
cpu0/cpu1 temperature: 72.000 97.000 degC
cpu0 temperature: 73.000 degC
cpu1 temperature: 72.000 degC
temperature 0: 72.000 degC
temperature 1: 47.000 degC
temperature 3: 69.000 degC
fan speed 0: 3984 RPM
-- quote ends
… perhaps what is needed is to track the temperature changes and to set
customizable thresholds allowing time enough to call shutdown gracefully.
> I'm also confused on a detail: did elisp or the OS trigger a shutdown
> when a certain temperature was reached?
I'd say the OS. The kernel build config lets you set the wait interval
before actual poweroff IIRC. But I don't think that interval allows the
file system to sort itself out to avoid corrupting and breaking the machine.
--
© 2019 Van L
gpg using EEF2 37E9 3840 0D5D 9183 251E 9830 384E 9683 B835
"What's so strange when you know that you're a Wizard at 3?" -Joni Mitchell
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-03-14 3:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-12 15:54 [OFFTOPIC] (was: [PATCH] Fix battery information on FreeBSD) Ahmed Khanzada
2019-03-14 3:55 ` graceful shutdown response to temperature climb Van L
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).