I am having a number of points on a refurbished MacBook Professional (13-inch, 2016, 4 Thunderbolt 3 ports). The battery was modified 3 years in the past, however it’s experiencing excessive leakage throughout sleep/shutdown. It seems the system does not shutdown correctly as a consequence of quite a few errors:
[2025-03-08 16:45:23] shutdown: Battery: 80%, Capability: 4589 mAh, Cycle Depend: 164
[2025-03-08 17:10:43] boot: Battery: 77%, Capability: 4292 mAh, Cycle Depend: 164
[2025-03-08 17:10:43] shutdown length: 0 h 25 m, 20 s Battery Drain: 3%, 297 mAh
---
[2025-03-08 19:07:06] shutdown: Battery: 46%, Capability: 2660 mAh, Cycle Depend: 165
[2025-03-08 19:17:18] boot: Battery: 41%, Capability: 2261 mAh, Cycle Depend: 165
[2025-03-08 19:17:18] shutdown length: 0 h 10 m, 12 s Battery Drain: 5%, 399 mAh
---
[2025-03-09 11:36:22] shutdown: Battery: 96%, Capability: 5501 mAh, Cycle Depend: 165
[2025-03-09 12:03:23] boot: Battery: 89%, Capability: 4977 mAh, Cycle Depend: 166
[2025-03-09 12:03:23] shutdown length: 0 h 27 m, 1 s Battery Drain: 7%, 524 mAh
system_profiler SPPowerDataType
Battery Data:
Serial Quantity: D860506N2GWHDWCC6
Producer: SMP
Gadget Title: bq20z451
Firmware Model: 702
{Hardware} Revision: 1
Cell Revision: 3925
Full Cost Capability (mAh): 5939
Well being Data:
Cycle Depend: 165
Situation: Regular
Some errors that I pinpointed from the log:
Filtering the log information utilizing “composedMessage CONTAINS “sleep” OR composedMessage CONTAINS “wake” OR composedMessage CONTAINS “shutdown””
#A number of errors, particularly 3 occasions throughout this shut/boot occasion at totally different occasions
0x336 Error 0x0 169 7 WindowServer: (CoreDisplay) [com.apple.CoreDisplay:default] [ERROR] - Setting primary show 0x04280c46 offline
0 0x7ff8112e9284 CoreDisplay::AddMainOfflineBreadcrumb(bool, char const*, ...) + 307
1 0x7ff8113b02ce CGXShutdownDisplays + 1520
2 0x7ff8151fc366 perform_server_shutdown + 19
3 0x7ff8151fc2d4 close_public_server_port + 0
4 0x7ff815076568 invocation perform for block in CGSessionClone(CGXSession*, CGError*) + 0
5 0x7ff8151fc12e __CGXPostPortNotification_block_invoke + 44
6 0x7ff8151fc026 CGXPostPortNotification + 235
7 0x7ff8151fbe1b notify_handler + 63
8 0x7ff8151fb302 post_port_data + 250
9 0x7ff8151fad82 CGXRunOneServicesPass + 1215
10 0x7ff8151fbd01 server_loop + 91
11 0x7ff8151fb9f7 SLXServer + 1690
12 0x10de9a3a8 13 WindowServer 0x000000010de9a3a8 WindowServer + 13224
13 0x11bb9252e 14 dyld 0x000000011bb9252e begin + 462
0x2ec Default 0x0 114 0 DumpPanic: [com.apple.osanalytics.preoslog:buffer] #[EB|CFG:ARG] wake-save-log 0x0000000000000002 (0x0000000000000002 < 0x0000000000000002) default
0x2ec Default 0x0 114 0 DumpPanic: [com.apple.osanalytics.preoslog:buffer] #[EB.WL.PWLFNV|!] Err(0xE) <- RT.GV wake-failure 7C436110-AB2A-4BBB-A880-FE41995C9F82
0x639 Error 0x7b4 327 0 locationd: [com.apple.locationd.Utility:Utility] locationd was began after an unclean shutdown
Additionally, a number of CoreDisplay errors throughout boot:
Filtering the log information utilizing “composedMessage CONTAINS “ERROR” OR composedMessage CONTAINS “unclean shutdown” OR composedMessage CONTAINS “CoreDisplay””
0x335 Error 0x0 169 7 WindowServer: (CoreDisplay) [com.apple.CoreDisplay:default] [ERROR] - Trying to get capabilities from capabilities with no units
0x62d Error 0x0 323 30 softwareupdated: (SoftwareUpdateCoreSupport) [com.apple.SoftwareUpdateMacController:SU] [DIAG_ERROR] ERROR: PersistReportFailed, purpose=Did not load the persevered state consequence=7403 error:SUMacControllerError:7403 | Did not load the earlier software program replace state as a consequence of validation error.
0x73e Default 0x0 0 0 kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR ] Boot pipe couldn't be discovered
0x7b8 Default 0x0 0 0 kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR ] No FB discovered for port -1
0x7f2 Default 0x0 0 0 kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR ] getAttribute known as when FB0 is in a sleep state - attribute: 'gnps'
0x7f2 Default 0x0 0 0 kernel: (AppleIntelSKLGraphicsFramebuffer) [IGFB][ERROR ] setAttribute known as when FB0 is in a sleep state - attribute: ' par'
Error 0x0 169 7 WindowServer: (CoreDisplay) [com.apple.CoreDisplay:default] [ERROR] - Trying to get capabilities from capabilities with no units
Error 0x0 164 7 corebrightnessd: (CoreDisplay) [com.apple.CoreDisplay:default] [ERROR] - Unable to create and lookup port "com.apple.windowserver.lively" => 1102
Any concepts on what could also be inflicting this?