Re:Going in circles without a real-time clock
by Hrnrurj on Thursday April 11, 2024 @04:20AM
(#39999698)
Voltage check on battery is part of regular PC maintenance. Like cleaning dust, checking all fans are spinning, capacitors are not getting bigger, checking for weird sounds in PSU, overnight memtest...
You should do it every year or two...
Re:Going in circles without a real-time clock
by riobard on Thursday April 11, 2024 @07:43AM
(#40001105)
Cannot do that if it acts as the always-on router…
Re:Going in circles without a real-time clock
by r2_pilot on Thursday April 11, 2024 @10:22AM
(#40002473)
Companies have regularly scheduled (weekly in some cases I know) maintenance windows affecting thousands of people. A home environment with an "always-on" router can surely find a 10 min window (say, 3 AM on a Sunday morning) where nobody cares.
Re:Going in circles without a real-time clock
by shadowgovt on Thursday April 11, 2024 @04:31PM
(#40006501)
Funny enough, instead of doing that every year, my policy has been "replace the machine if it breaks" and in general, I've gotten a good five-year cycle out of all my PCs without having to do disassemble-maintenance with an air can and a static strip. This has been good enough because I do enough high-graphics-demand gaming that five years is about the cycle on which some new-shiny has come out that renders my machine too old to play modern games.
Maybe I'm just lucky.
Re:Going in circles without a real-time clock
by qiqitori on Thursday April 11, 2024 @03:00AM
(#39999138)
Some unsolicited solutions, maybe not for you but somebody in a similar situation: maybe replace it with a supercapacitor (needs some wiring changes, otherwise it won't ever be charged, should last long enough for most power outages), or use a stack of coin cells in parallel (difficult due to physical dimensions, and they'll still go dead at some point). You can also short two wires on the ATX supply to automatically turn on the computer when power is supplied (which may not be good enough if you have to press a key during boot to dismiss the low battery warning). Or hack the BIOS :)
Re:Going in circles without a real-time clock
by riobard on Thursday April 11, 2024 @04:13AM
(#39999640)
Somehow I feel reliability might take a hit… :|
Re:Going in circles without a real-time clock
by mkesper on Thursday April 11, 2024 @05:54AM
(#40000364)
If using supercapacitors, use some known not for leaking else you're back to square one (do a search for capacitor recap).
Re:Going in circles without a real-time clock
by duskwuff on Thursday April 11, 2024 @09:37PM
(#40008643)
That issue doesn't apply to supercapacitors (nor to any capacitor manufactured in the last 15-20 years, really). It affected some aluminum electrolytic capacitors manufactured with a defective electrolyte in the early 2000s.
Re:Going in circles without a real-time clock
by qmarchi on Thursday April 11, 2024 @02:57AM
(#39999130)
Most newer systems persist EFI options to NVRAM now days as well. Pulling the battery isn't generally enough to reset them anymore.
Re:Going in circles without a real-time clock
by progbits on Thursday April 11, 2024 @03:11AM
(#39999196)
My desktop remembers all settings, but after power loss still goes into a warning where I have to press F1 to enter settings, then exit them without making changes. I couldn't find an option to not do that.
Re:Going in circles without a real-time clock
by riobard on Thursday April 11, 2024 @03:47AM
(#39999428)
Yes, this is very annoying.
Re:Going in circles without a real-time clock
by guenthert on Thursday April 11, 2024 @05:28AM
(#40000204)
> But there is no way to know how much juice is left in the BIOS battery,
True, but its voltage can be used as an estimate. Most PC MB still around monitor the supply voltages, some also of the battery feeding the RTC. If you have the (Debian) package 'lm-sensors' installed, look for
sensors[<pid>]: Vbat: +2.91 V (min = +2.70 V, max = +3.63 V) ALARM
in /var/log/syslog.
Re:Going in circles without a real-time clock
by riobard on Thursday April 11, 2024 @07:46AM
(#40001127)
Ran `sensors` and it only shows CPU core temps. I guess my MB does not report RTC battery voltage?
Re:Going in circles without a real-time clock
by guenthert on Thursday April 11, 2024 @08:09AM
(#40001263)
One thing are the sensors, 'nother thing is the software. Have you configured the lm-sensors package (by running `sensors-detect`) yet?
https://hwmon.wiki.kernel.org/lm_sensors also has a FAQ.
Background: I use an x86 box as home router. I've changed the configuration in the BIOS that it should automatically boot up on power. However if the BIOS battery is dead, the config will be lost and it will revert to default settings, which is not to boot on power.
But there is no way to know how much juice is left in the BIOS battery, thus there is no way to issue warnings that the battery should be replaced soon. If there is power loss AND the battery is dead, when the power comes back up again, the router will just stay off indefinitely until it's manually turned on.
That's when I realized why most consumer routers do not feature RTC nor do they require batteries.