An exciting post-Christmas patch series out on the Linux kernel mailing list this morning is proposing a new runtime standby ABI that is similar in nature to the "Modern Standby" functionality found with Microsoft Windows.

Antheas Kapenekakis sent out the patch series today proposing this new runtime standby ABI for Linux. Antheas Kapenekakis is one of the developers heavily involved in the Linux gaming handheld space with working on the OneXPlayer driver, ASUS ROG Ally improvements, MSI handheld improvements, and more.

all 20 comments

sorted by: hot top controversial new old
[–] 35 points 10 months ago (6 children)

I hope they implement it better than MS did for Windows 10/11. I recently setup a Windows 11 machine for work and had to enable hibernate specifically because S0 sleep is incapable of staying asleep for more than 30 seconds despite me disabling literally every device from being able to wake it up.

  • source
  • hideshow 6 child comments
  • [–] 17 points 10 months ago

    I feel this. Initially I just closed the lid on my work laptop, but I kept waking up to my work monitor just sitting there shining in the middle of the night, because despite having put it in hibernate, it decides to spontaneously wake up and sit at the login screen. Couldn't ever fix that, so now I unplug it when I quit my workday.

  • source
  • parent
  • [–] 4 points 10 months ago (4 children)

    I had a series of issues with my old tower that kept waking up and it was very frustrating.

    Just curious, did you do a powercfg /lastwake to see what woke it from suspend? For me I think it ended up being a scheduled task, something like Adobe updater, though I don’t remember exactly.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 6 points 10 months ago (3 children)

    Yeah, that's the frustrating thing. I would run that immediately after watching it wake up and it would gaslight me saying nothing woke it up.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 3 points 10 months ago (2 children)

    Very frustrating, I remember a similar experience, the command seemed to only show wakes caused by a device like mouse or wake on LAN.

    If you still have the machine, check those scheduled tasks (like UpdateOrchestrator tasks) and uncheck "Wake the computer to run this task" in its Conditions tab, or globally disable Wake Timers in Power Options

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 10 months ago (1 child)

    Had this once, turned out to be some driver update software for a gaming mouse (at least something like that). Sucks for non-technical people that its quite hard to figure out for them without involving the 'family IT guy'

  • source
  • parent
  • hideshow 1 child comment
  • [–] 3 points 10 months ago

    Tbf, these days windows is so obscure, it also sucks for technical people, sometimes it's practically impossible to find where to configure something even if you know it can be configured, even worse if you don't know for sure

  • source
  • parent
  • [–] 24 points 10 months ago (2 children)

    Modern Standby is the thing that causes your notebook to heat up when closing the lid and putting it into your backpack.

    It only really works on my Surface, on my work's ThinkPad it merely mostly works, on my private Asus gaming notebook it's entirely broken.

    Old standby on my Steam Deck is what works most reliable in my household.

  • source
  • hideshow 2 child comments
  • [–] 5 points 10 months ago (1 child)

    To be fair, Windows has had standby issues forever, so the only thing that's different here from 20 years ago is that Linux does it reliably.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 6 points 10 months ago

    To be fair, Windows has had standby issues forever

    I have the same issues with my Intel MacBook. Maybe "background tasks can wake-up the system if needed" is not really needed on notebooks and actually a dumb concept for non-phone devices.

  • source
  • parent
  • [–] 21 points 11 months ago (4 children)

    Modern Standby is a low-power mode on Windows 11 for letting systems remain connected to the network and appear "sleeping" but will allow for instant wake-up for notifications, music playback, and other functionality. The display is off, the network remains online, and background tasks can wake-up the ystem if needed with Microsoft Modern Standby.

  • source
  • hideshow 4 child comments
  • [–] 31 points 11 months ago* (2 children)

    I was forced to use a mac recently. I believe this may be what it also does. It's absolute insanity and I hate the behavior with passion. If I put it to sleep I want it to stay sleeping, dead, not running, not using the network, not draining my Bluetooth headphones that were connected and I expected for them to turn off.. or to keep receiving slack notifications on it instead of them routing properly to the other really connected device....

    I hate this timeline.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 6 points 10 months ago

    On a semi-related note, does anyone know if there's any modern laptops that still support regular S3 Sleep? Or did they all switch to S0ix?

  • source
  • [–] 13 points 11 months ago (3 children)

    We don't need this crap on Linux. Sleep is meant to be a low power mode where everything except ram is powered down, and you can pick up near instant where you left off. Not this kind of "sleep" where about everything is running like before. A desktop/laptop isn't a mobile phone where this behavior is the standard.

  • source
  • hideshow 3 child comments
  • [–] 44 points 11 months ago (1 child)
    1. Not every Linux device is a desktop or laptop.
    2. Something similar was recently added to the Steam Deck to download updates before going properly to sleep.
  • source
  • parent
  • hideshow 1 child comment
  • [–] 6 points 10 months ago* (last edited 10 months ago)

    SteamDeck's isn't the same at all. It is a fake sleep: "Go to sleep but you can finish downloading whatever you need before" (inside the steam software, outside of it it has no idea).

    On OLED screens you get to have the screen powered off. On LCD we see the screen is still powered. Maybe they just turn the brightness to the minimum and send black color of pixels?

    Anyway, once the download queue finish, the SteamDeck goes to proper hibernation and does only get to wake up when using the power button. Not at any notification or when a background process want it like I see explained on comments in this thread.

    Edit: The SteamDeck version looks a lot more like the "Finish the update and restart/shutdown/hibernate button"

  • source
  • parent