Lädt...


🐧 PSA: Systemd intentionally draining laptop batteries if using suspend-then-resume since systemd-252


Nachrichtenbereich: 🐧 Linux Tipps
🔗 Quelle: reddit.com

As of Systemd-252, systemd incompatibly changed the existing suspend-then-hibernate feature, and specifically HibernateDelaySec, from what it was well established and documented to do, to instead wait that time, and then guess how long your battery will last *, and *only if its almost out will it try (and usually fail/die before then) to hibernate.

Why they decided to incompatibly change an existing option to do something entirely different and break every single user, and cause data loss, is beyond me.

This behavior is absolutely ridiculous, look at the nonsense it is now

suspend-then-hibernate

A low power state where initially user.slice unit is freezed. If the hardware supports low-battery alarms (ACPI _BTP), then the system is first suspended (the state is stored in RAM) and then hibernates if the system is woken up by the hardware via ACPI low-battery signal. Unit user.slice is thawed when system returns from hibernation. If the hardware does not support low-battery alarms (ACPI _BTP), then the system is suspended based on battery's current percentage capacity. If the current battery capacity is higher than 5%, the system suspends for interval calculated using battery discharge rate per hour or HibernateDelaySec= if former is not available. Battery discharge rate per hour is stored in a file which is created after initial suspend-resume cycle. The value is calculated using battery decreasing charge level over a timespan for which system was suspended. For each battery connected to the system, there is a unique entry. After RTC alarm wakeup from suspend, battery discharge rate per hour is again estimated. If the current battery charge level is equal to or less than 5%, the system will be hibernated (the state is then stored on disk) else the system goes back to suspend for the interval calculated using battery discharge rate per hour. In case of manual wakeup, if the battery was discharged while the system was suspended, the battery discharge rate is estimated and stored on the filesystem. In case the system is woken up by the hardware via the ACPI low-battery signal, then it hibernates.

compared to before

 suspend-then-hibernate A low power state where the system is initially suspended (the state is stored in RAM). If not interrupted within the delay specified by HibernateDelaySec=, the system will be woken using an RTC alarm and hibernated (the state is then stored on disk). 

If you're using a laptop and were using this option, beware. You can guess how well the new behavior actually works. Heres a hint: It doesn't. Way more complex, way less reliable, and completely different from what it was, changed with no warning, and practically guarantees data loss and battery drain.

There is an open github issue for this

submitted by /u/StonedBird1
[link] [comments] ...

📰 Rogue Ads Are Draining Android Phone Batteries With Hidden Videos


📈 32.94 Punkte
📰 IT Security Nachrichten

📰 Rogue Ads Are Draining Android Phone Batteries With Hidden Videos


📈 32.94 Punkte
📰 IT Security Nachrichten

📰 Could Zinc Batteries Replace Lithium-Ion Batteries on the Power Grid?


📈 27.3 Punkte
📰 IT Security Nachrichten

📰 Electric Car Batteries Might Be Worth Recycling, But Bus Batteries Aren't Yet


📈 27.3 Punkte
📰 IT Security Nachrichten

📰 Australian Scientists Figure Out How Zinc-Air Batteries Can Replace Lithium-Ion Batteries


📈 27.3 Punkte
📰 IT Security Nachrichten

📰 Many Mobile Apps Intentionally Using Insecure Connections for Sending Data


📈 25.47 Punkte
📰 IT Security Nachrichten

🪟 New Laptop Battery Draining Fast? Here’s How to Fix It Quickly!


📈 24.75 Punkte
🪟 Windows Tipps

🐧 Can any laptop be configured for long (16hr+) suspend eg. S3 not IRST or hibernate?


📈 23.72 Punkte
🐧 Linux Tipps

🐧 Suspend shuts down laptop (Manjaro-i3)


📈 23.72 Punkte
🐧 Linux Tipps

🐧 PSA: The number of seconds since the epoch will be 1717171717 tomorrow, May 31, at 16:08:37 UTC.


📈 23.51 Punkte
🐧 Linux Tipps

📰 People Are Using Recycled Laptop Batteries To Power Their Homes


📈 22.99 Punkte
📰 IT Security Nachrichten

🐧 TIL you can wake up your computer from suspend at a specified time using rtcwake utility


📈 22.13 Punkte
🐧 Linux Tipps

📰 UK Privacy Watchdog Says Facebook Agrees To Suspend Using WhatsApp Users' Data


📈 22.13 Punkte
📰 IT Security

📰 UK Privacy Watchdog Says Facebook Agrees To Suspend Using WhatsApp Users' Data


📈 22.13 Punkte
📰 IT Security

📰 Apple left iOS 10 Kernel Code Unencrypted, Intentionally!


📈 21.6 Punkte
📰 IT Security Nachrichten

🐧 Intentionally buggy commits for fame—and papers [LWN.net]


📈 21.6 Punkte
🐧 Linux Tipps

📰 DROWN Flaw Illustrates Dangers of Intentionally Weak Crypto


📈 21.6 Punkte
📰 IT Security Nachrichten

🐧 [$] Intentionally buggy commits for fame—and papers


📈 21.6 Punkte
🐧 Linux Tipps

📰 Are Airlines Intentionally Overbooking Their Flights?


📈 21.6 Punkte
📰 IT Security Nachrichten

🐧 Greg KH's response to intentionally submitting patches that introduce security issues to the kernel


📈 21.6 Punkte
🐧 Linux Tipps

📰 Apple left iOS 10 Kernel Code Unencrypted, Intentionally!


📈 21.6 Punkte
📰 IT Security Nachrichten

📰 DROWN Flaw Illustrates Dangers of Intentionally Weak Crypto


📈 21.6 Punkte
📰 IT Security Nachrichten

🐧 I need to intentionally corrupt a Linux LVM partition as part of a designed interview question


📈 21.6 Punkte
🐧 Linux Tipps

🎥 Detecting (un)Intentionally Hidden Injected Code by Examining Page Table Entries


📈 21.6 Punkte
🎥 IT Security Video

📰 X Twitter intentionally “destroying the value in users’ accounts”


📈 21.6 Punkte
📰 IT Security Nachrichten

📰 Why WPS always returns a wrong serial number...Did they do it intentionally ?


📈 21.6 Punkte
📰 IT Security Nachrichten

🐧 Intentionally Virtualizing at Work


📈 21.6 Punkte
🐧 Linux Tipps

📰 Intel Performance Strategy Team Publishing Intentionally Misleading Benchmarks


📈 21.6 Punkte
📰 IT Security Nachrichten

📰 Intentionally Insecure: Poor Security Practices In The Cloud


📈 21.6 Punkte
📰 IT Security Nachrichten

matomo