News for hackers. Stuff that matters.
Re:AirPlay and Touch Bar = Network Disaster by kibwen on Saturday June 11, 2022 @04:35PM (#31708105)
I've got bad news, I've been extremely unimpressed with my Macbook's so-called smart sleep. Literally the first day I brought it into work I went to go take it out of my bag only to find that it was too hot to touch. Neither selecting "Sleep" nor closing the lid for 30 minutes had convinced the fickle OS to enter a low-power state.

You know what Windows and Linux offer that Mac doesn't? A friggin' Hibernate option. Please, just let me have a button to power off my computer while persisting its state to disk. No, I don't want to have to shut down my computer every time I put it in a bag, that's completely ridiculous and an utter waste of my time having to reset all my tmux panes, vim windows, shell histories... what a UX nightmare. They've made a laptop that's a terror to actually take anywhere with you. Even when the "smart" sleep does (sometimes) finally decide to kick in, it invariably costs 20% of the battery.

When people say that Macs have good power management, what they mean is that Safari is optimized for power consumption relative to Chrome and Firefox.

Re:AirPlay and Touch Bar = Network Disaster by jacobolus on Saturday June 11, 2022 @04:42PM (#31708184)
Macs have a hibernate option that completely powers the machine off after saving the contents of RAM to disk, but you need to set it via the terminal. Find the current hibernate mode via: pmset -g

The default is hibernatemode 3 (RAM stays powered on until battery drops below some threshold, so that wake from sleep is very fast).

The version of “hibernate” you want is mode 25: sudo pmset -a hibernate mode 25

If you routinely keep your computer 'hibernating' for days at a time without plugging it in, you’ll save some battery life this way at the expense of a slower wake-up time because RAM is not kept powered.

See https://en.wikipedia.org/wiki/Pmset for more details.

> Safari is optimized for power consumption relative to Chrome and Firefox

This is a very big difference. Chrome has zero respect for battery life.

Re:AirPlay and Touch Bar = Network Disaster by KennyBlanken on Saturday June 11, 2022 @04:59PM (#31708340)
You have either a hardware issue (lid sensor), an SMC issue (try an SMC reset, it's painless), or software you run is preventing sleep (which you can find by looking in the Energy tab of Activity Monitor. Google search for "os x sleep prevented") or you have some hardware plugged in (external displays and keyboards can sometimes prevent a lid-shut from triggering sleep; I forget the 'rules' around this.)

Also, you can set the power manager's hibernatemode to your liking (Google search "os x hibernate mode") but there usually no reason to adjust the default (sleep for 3-4 hours, then suspend to disk) given how fast storage is in macs these days.

Macs have been famous for decades for having the best sleep/hibernate functions in the industry and when yours didn't work properly maybe you should have investigated? Or at least not be whinging about Apple over it?

Re:AirPlay and Touch Bar = Network Disaster by duxup on Saturday June 11, 2022 @05:44PM (#31708735)
> maybe you should have investigated?

I did / have on multiple devices.

Re:AirPlay and Touch Bar = Network Disaster by astrange on Saturday June 11, 2022 @06:50PM (#31709251)
Report a bug in Feedback Assistant.