Re:Discovery could help extend battery life when not used
by colanderman on Tuesday January 31, 2023 @09:16PM
(#34605473)
Processes don't run while a computer is in suspend mode.
Re:Discovery could help extend battery life when not used
by izacus on Wednesday February 01, 2023 @04:24AM
(#34608275)
Of course they do on modern computers (so do peripheral microcontrollers).
Most modern laptops and devices don't go into full suspend states anymore, they just do a much lighter standby similar to phones and tablets. Windows calls this "Modern Standby" while Apple just does it since Apple Sillicon.
Even so, periodically they will wake up and run tasks just like phones (e.g. Power Nap on Apples, no idea what Windows calls it). Linux has a headache here because it's mostly not prepared to disable all their processes and peripherals correctly during those states so something keeps waking up and running.
Re:Discovery could help extend battery life when not used
by colanderman on Wednesday February 01, 2023 @09:38AM
(#34611021)
Linux assuredly does not periodically wake from standby to run random background tasks. I welcome a reference to the contrary. (Android notwithstanding -- I know phones and tablets do not truly suspend -- I am responding to the suggestion of manually managing background tasks which generally implies a non-handheld OS.)
I wasn't aware macOS enables Power Nap permanently on Apple silicon, interesting.
If you kill -9 all your Linux processes then you'll be great at idle use as well.
Now hunting down all the processes that might be turning on your radios, CPUs and I/O devices is the hard part on OSes where you can actually run things in the background, since you easily get into tragedy of the commons situations.
For comparison, consider a Kindle (linux device, battery lasts for weeks) or a Garmin watch (battery life is about 3-10x better than Apple watch) to see how different can outcomes be if you control what processes run.