I know from extensive debugging of this issue that docker is the problem. You basically can't run docker (as of 6 months ago...I hope this will eventually be false) on an M1/M2 without causing significant heating and battery drain. Since this is the fault of the OS, maybe Asahi will eventually be the solution.
I wonder if people using it for writing code are running docker at all, you read so many comments on HN of how the battery life is incredible (on any thread about comparisons between any Mac and any other laptop) while in my experience a full charge Macbook Air M2 lasts about 6 hours with Docker running instead of the usual 15 it lasts when its off.
You could also launch a Linux VM and run your docker containers in there. That ought to work better than just running docker in Mac OS and letting it manage VM instances on its own.
ghc|3 years ago
niclo|3 years ago
I wonder if people using it for writing code are running docker at all, you read so many comments on HN of how the battery life is incredible (on any thread about comparisons between any Mac and any other laptop) while in my experience a full charge Macbook Air M2 lasts about 6 hours with Docker running instead of the usual 15 it lasts when its off.
zozbot234|3 years ago
bonestamp2|3 years ago
ChrisRR|3 years ago
catchnear4321|3 years ago