Hacker News new | past | comments | ask | show | jobs | submit login

How did you manage to close the lid of your Macbook and still be able to view content on the external display? Is there some setting that I'm missing? When I'm attached to an external monitor and if I close my Macbook lid, the system goes to sleep (am on Macbook Pro M1, 14 inch 2020 model).




in order for that to work, you have to plug in the charger. then you can close the lid and have the external displays on :)


Didn't know that. Thank you. Although, for this to work then, it will go against my habit of switching off the charger as soon as the battery gets charged 100%.


> switching off the charger as soon as the battery gets charged 100%.

Batteries have a limited amount of charge/discharge cycles - if you are doing this you're unnecessarily wasting those. Keeping the device plugged in once charged is absolutely fine - the battery itself will stop charging and the power will be used only to power the device itself so it doesn't have to touch the battery anymore.

This stupid advice has been going around for ages and if it ever applied it definitely doesn't apply now - all modern lithium batteries use charging circuitry that stop charging beyond a certain point regardless of whether it's plugged in or not - if they didn't you'd be seeing battery fires everywhere.


yeah, if you really want to max your battery life you can even limit it to 50% or something: https://apphousekitchen.com/

Macs do this automatically but it doesn't seem to happen to me that often. Usually if I leave it plugged in for an entire weekend I think.


Wow, I did not know this is possible with a Mac now. I think Thinkpads supported this but not the Mac. Great find!


Sorry to bother, but why would you have such habit even when stationary and the charger is lying around?


> but why would you have such habit even when stationary and the charger is lying around?

Two reasons - One, the charger heats up a lot when I keep it on. Of course, you don't feel it unless you are nearby or touch it. Two, in the past I once had the charger destroyed due to a power surge. The Macbook remained fine after that power surge but I had to replace the charger since it stopped charging after that.


About the heat: I have a MacBook Pro M1 16" and a third-party 65 W charger, it barely gets warm, far from even recognising by being close to it. Perhaps you should get a better charger if it heats up so much. The one I'm using: https://www.amazon.com/Charger-Baseus-Adapter-Delivery-Folda...


I'd advise against buying any kind of charger, battery, or frankly anything that you'd be leaving plugged in unattended on Amazon.


Yep, most of them have 4.8 star reviews, but if you look through you can usually find quite a few that caught fire.


Checked the reviews for this particular one, no one is mentioning fire. If you search for Apple charger caught fire you will find some, can happen to any electronic device.

I have three of them plugged in 24/7 for 3 years now and recommended them to others, all houses still standing. But you can also get the original 96 W charger from Apple, it's bigger so it can dissipate heat better than the smaller ones.


I would not trust reviews on any site that's incentivized to sell me something, but especially not Amazon which allows sellers to edit listings and put completely different products while keeping the reviews (not to mention inventory commingling so that even buying a legitimate product won't save you).


Another way:

to disable sleep:

sudo pmset -a disablesleep 1

to enable sleep:

sudo pmset -a disablesleep 0




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: