Oui, batterie 100% à 14h, 2% à 19h28 (écran abaissé)@ Léo
Le Mac ne se met plus en hibernation -->
- perte de % de la batterie ou pas ?
Oui, batterie 100% à 14h, 2% à 19h28 (écran abaissé)@ Léo
Le Mac ne se met plus en hibernation -->
- perte de % de la batterie ou pas ?
pmset -g custom
Aidez moi SVP!Battery Power:
lidwake 1
autopoweroff 0
standbydelayhigh 300
autopoweroffdelay 28800
standbydelaylow 300
standby 60
proximitywake 0
ttyskeepawake 1
hibernatemode 25
powernap 0
gpuswitch 2
hibernatefile /var/vm/sleepimage
highstandbythreshold 50
displaysleep 3
sleep 5
acwake 0
halfdim 1
tcpkeepalive 1
lessbright 1
disksleep 4
AC Power:
lidwake 1
autopoweroff 1
standbydelayhigh 86400
autopoweroffdelay 28800
proximitywake 1
standby 1
standbydelaylow 10800
ttyskeepawake 1
hibernatemode 3
powernap 1
gpuswitch 2
hibernatefile /var/vm/sleepimage
highstandbythreshold 50
womp 1
displaysleep 10
networkoversleep 0
sleep 1
tcpkeepalive 1
halfdim 1
acwake 0
disksleep 10
pmset -g custom
pmset -g log | grep "due"
Battery Power:
lidwake 1
autopoweroff 0
standbydelayhigh 300
autopoweroffdelay 28800
standbydelaylow 300
standby 60
proximitywake 0
ttyskeepawake 1
hibernatemode 25
powernap 0
gpuswitch 2
hibernatefile /var/vm/sleepimage
highstandbythreshold 50
displaysleep 3
sleep 5
acwake 0
halfdim 1
tcpkeepalive 1
lessbright 1
disksleep 4
AC Power:
lidwake 1
autopoweroff 1
standbydelayhigh 86400
autopoweroffdelay 28800
proximitywake 1
standby 1
standbydelaylow 10800
ttyskeepawake 1
hibernatemode 3
powernap 1
gpuswitch 2
hibernatefile /var/vm/sleepimage
highstandbythreshold 50
womp 1
displaysleep 10
networkoversleep 0
sleep 1
tcpkeepalive 1
halfdim 1
acwake 0
disksleep 10
pour la seconde commande:
(Charge:100%) 1886 secs
2020-12-19 16:33:37 +0100 Wake Wake from Normal Sleep [CDNVA] : due to XHC1/UserActivity Assertion Using AC (Charge:100%) 2259 secs
2020-12-19 17:11:16 +0100 Sleep Entering Sleep state due to 'Idle Sleep':TCPKeepAlive=active Using Batt (Charge:100%) 3970 secs
2020-12-19 18:17:26 +0100 Wake Wake from Standby [CDNVA] : due to XHC1/UserActivity Assertion Using BATT (Charge:100%) 2104 secs
2020-12-19 18:52:30 +0100 Sleep Entering Sleep state due to 'Idle Sleep':TCPKeepAlive=active Using AC (Charge:100%) 12 secs
2020-12-19 18:52:42 +0100 DarkWake DarkWake from Normal Sleep [CDNP] : due to /Network Using AC (Charge:100%) 45 secs
2020-12-19 18:53:27 +0100 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=active Using AC (Charge:100%) 2332 secs
.....
2020-12-21 08:00:34 +0100 Sleep Entering Sleep state due to 'Clamshell Sleep':TCPKeepAlive=active Using Batt (Charge:100%) 7204 secs
2020-12-21 10:00:38 +0100 DarkWake DarkWake from Standby [CDN] : due to RTC/Maintenance Using BATT (Charge:100%) 0 secs
2020-12-21 10:00:38 +0100 Sleep Entering Sleep state due to 'Maintenance Sleep':TCPKeepAlive=inactive Using Batt (Charge:100%) 6372 secs
2020-12-21 10:00:48 +0100 PM Client Acks Delays to Sleep notifications: [com.apple.apsd is slow(441 ms)] [com.apple.time is slow(571 ms)] [PLSleepWakeAgent is slow(1662 ms)] [systemstats is slow(2357 ms)] [com.apple.duetactivityscheduler is slow(5283 ms)] [AirPort configd plug-in is slow(9959 ms)]
2020-12-21 11:46:50 +0100 DarkWake DarkWake from Standby [CDNP] : due to EC.ACAttach/Maintenance Using AC (Charge:100%) 5 secs
2020-12-21 11:46:55 +0100 Wake DarkWake to FullWake from Standby [CDNVA] : due to HID Activity Using AC (Charge:100%)
2020-12-21 15:07:19 +0100 Assertions PID 308(UserEventAgent) Released BackgroundTask "com.apple.coreduet.sync.triggered" 00:01:02 id:0x0xb00008049 [System: PrevIdle DeclUser kDisp]
2020-12-21 21:09:44 +0100 Assertions PID 308(UserEventAgent) Released BackgroundTask "com.apple.coreduet.sync.triggered" 00:00:22 id:0x0xb00009038 [System: PrevIdle]
2020-12-21 22:02:20 +0100 Assertions PID 308(UserEventAgent) Released BackgroundTask "com.apple.coreduet.sync.triggered" 00:00:28 id:0x0xb00009292 [System: PrevIdle]
2020-12-22 09:25:09 +0100 Sleep Entering Sleep state due to 'Low Power Sleep':TCPKeepAlive=inactive Using Batt (Charge:0%) 61 secs
2020-12-22 09:26:10 +0100 DarkWake DarkWake from Standby [CDN] : due to EC.LowBattery/LowBattery Using BATT (Charge:0%) 0 secs
2020-12-22 09:26:10 +0100 Sleep Entering Sleep state due to 'Low Power Sleep':TCPKeepAlive=inactive Using Batt (Charge:0%) 10527 secs
2020-12-22 09:26:19 +0100 PM Client Acks Delays to Sleep notifications: [com.apple.apfsd is slow(387 ms)] [PLPowerEventListener is slow(570 ms)] [com.apple.time is slow(574 ms)] [com.apple.apsd is slow(767 ms)] [PLSleepWakeAgent is slow(3018 ms)] [systemstats is slow(3159 ms)] [com.apple.duetactivityscheduler is slow(4147 ms)] [AirPort configd plug-in is slow(8740 ms)]
2020-12-22 12:21:37 +0100 Wake Wake from Standby [CDNVA] : due to PWRB/User Using AC (Charge:2%)
2020-12-22 13:08:18 +0100 Assertions PID 308(UserEventAgent) Released BackgroundTask "com.apple.coreduet.sync.triggered" 00:00:37 id:0x0xb000080ef [System: PrevIdle]
2020-12-22 14:14:09 +0100 Assertions PID 308(UserEventAgent) Released BackgroundTask "com.apple.coreduet.sync.triggered" 00:00:14 id:0x0xb00008444 [System: PrevIdle]
2020-12-22 14:52:00 +0100 Assertions PID 308(UserEventAgent) Released BackgroundTask "com.apple.coreduet.sync.triggered" 00:00:21 id:0x0xb000085e0 [System: PrevIdle]
2020-12-22 14:59:33 +0100 Assertions PID 308(UserEventAgent) Released BackgroundTask "com.apple.coreduet.sync.triggered" 00:00:21 id:0x0xb00008646 [System: PrevIdle]
2020-12-22 16:49:07 +0100 Assertions PID 308(UserEventAgent) Released BackgroundTask (4031 ms)] [AirPort configd plug-in timed out(28007 ms)]
2020-12-23 11:46:01 +0100 Wake Wake from Standby [CDNVA] : due to RTC/UserActivity Assertion Using AC (Charge:1%)
standby 60
sudo pmset -b standby 1
Oui, la batterie de mon MacBook ne s'est pas vidée cette nuit.Il m'est arrivé de verrouiller ce fichier par un flag : uchg (attribut d'immuabilité)
csrutil status ; diskutil list
System Integrity Protection status: enabled.
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *251.0 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 250.8 GB disk0s2
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +250.8 GB disk1
Physical Store disk0s2
1: APFS Volume OSX - Données 184.2 GB disk1s1
2: APFS Volume Preboot 82.7 MB disk1s2
3: APFS Volume Recovery 528.9 MB disk1s3
4: APFS Volume VM 3.2 GB disk1s4
5: APFS Volume OSX 11.3 GB disk1s5
ls -al /Vol*/OS*\Do*/Lib*/Pref*/com.apple.PowerM*
ls: /Vol*/OS*Do*/Lib*/Pref*/com.apple.PowerM*: No such file or directory
(base) MacBook-Pro-de-****-6:~ tahri$ ls -al /Vol*/OS*\Do*/Lib*/Pref*/com.apple.PowerM*
ls: /Vol*/OS*Do*/Lib*/Pref*/com.apple.PowerM*: No such file or directory
(base) MacBook-Pro-de-****-6:~ ****$
ls -al /Lib*/Pref*/com.apple.PowerM*