日記/2025-05-27
2026-01-11 (日) 09:49:44
pmsetでMACの電源操作を行う†
http://shamukichi.air-nifty.com/blog/2013/02/macbook-promid-.html
AC電源駆動時の設定
% sudo pmset -c autopoweroffdelay 7200 hibernatemode 0 autopoweroff 0
バッテリー駆動時の設定
% sudo pmset -b autopoweroffdelay 3600 hibernatemode 25 autopoweroff 1
にしてみた
スリープ時のバッテリー消費量を抑えることが可能になった
2026/1/11
% sudo pmset -b autopoweroffdelay 3600 hibernatemode 25 autopoweroff 0
autopoweroff 1とするとスリープから復帰できなることがあるようなのでautopoweroff 0とした。