←back to thread

400 points dulvui | 1 comments | | HN request time: 0.001s | source
Show context
mgoetzke ◴[] No.41857244[source]
it also leaks the audio of tabs before logging in.

Even though I had disabled all 'restore' applications features, macos sometimes decides to 'start' browsers BEFORE logging in after a restart AND those start auto-playing audio from whatever was paused before the reboot (or many days before).

Since then I went rather deep disabling that feature, but I never trusted it.

replies(7): >>41857258 #>>41857358 #>>41857362 #>>41857411 #>>41857615 #>>41857667 #>>41857946 #
Affric ◴[] No.41857258[source]
I can’t think of anything I want less from a laptop than it playing sound when I open it… and yet apple bring it to me as though it’s a feature.
replies(4): >>41857320 #>>41857331 #>>41857349 #>>41862631 #
bayindirh ◴[] No.41857349[source]
macOS sends a "pause" signal to all players when it sleeps, and any application which can handle that won't be playing any audio when the system wakes up. So if your audio continues the moment you open the lid, please file a bug report for that application.
replies(1): >>41857378 #
Kbelicius ◴[] No.41857378[source]
GP wrote nothing about sleep.
replies(1): >>41857392 #
bayindirh ◴[] No.41857392[source]
macOS sleeps the moment you close the lid, and wakes the moment you raise it a little. It's instantaneous, esp. ARM powered ones.
replies(2): >>41857409 #>>41858179 #
ta1243 ◴[] No.41858179{3}[source]
I've seen many situations where macos laptops with a closed lid continue to perform network tasks
replies(1): >>41858192 #
bayindirh ◴[] No.41858192{4}[source]
That's PowerNap. Depending on your settings, your Mac wakes up briefly to check e-mails, updates and sleeps again. Normally it happens only during charging, but you can enable on battery power or disable it completely.

Bluetooth and wireless radios stay on for a longer while because to keep everything connected if you are moving from room to room at home or at work, also it's made possible because all radios are higher end models with their independent processors.

replies(1): >>41879012 #
legacynl ◴[] No.41879012{5}[source]
so basically you're retracting your previous statement that the notebook sleeps as soon as you close the lid? Because doing all that shit isn't sleeping, even if their marketing calls it a 'nap'
replies(1): >>41879138 #
1. bayindirh ◴[] No.41879138{6}[source]
No, PowerNap doesn't work like that.

When you close the lid, macOS directly sleeps, shutting down fans in ~10 seconds if you have them, reaching S3 (Suspend to RAM) state. Radios stay alive a little longer to keep any BT/Wireless connections to speed things up if you're just moving places, then they go dark as well.

If you enabled PowerNap on charging, your laptop will wake up briefly after some time (Every hour or so) after you plug it in, check mails if Apple Mail is open, check for any system updates, and sleep if there's none after fetching the mails (It'll download the updates if there are any, IIRC). If you have setup Time Machine, and the drive is available (locally or via network), PowerNap will wake the system and take a backup every 24 hours, making sure that your backups are always up to date.

Per factory settings, PowerNap on battery is off, so it'll sleep without any disturbance up to a month or so, and will hibernate when the battery is low.

So, yes, the laptop sleeps as soon as you close the lid. But wakes up periodically to make sure that everything is fetched and ready (if it's connected to power, by default).

BTW, There's an actual method called Power Nap involving short naps to recharge. It's not an Apple naming gimmick [0].

[0]: https://en.wikipedia.org/wiki/Power_nap