Sudden shutdowns at login screen or when typing on Spotlight

Im going crazy with this problem already, my laptop: a Xiaomi Mi Notebook pro with i7-8550u and Samsung NVME 960 EVO is shutting down randomly at almost 50% of battery. A workaround for me is to open up my laptop and remove the battery to completely discharge the laptop and it does work for a lot of time but after a while it is happening again.

It only happens while using battery, never happens if the charger is connected.

Could it be because of the drive (shutting down at login, at opening Spotlight or opening chrome sometimes)?

This has happened to me with a Macbook and the solution was to reset NVRAM, but there is no NVRAM on a hackintosh...

Anyway here is my last lines of system.log:

Jan 29 19:33:28 Marcs-NotAMacBook-Pro Adobe Desktop Service[526]: objc[526]: Class ProxyManager is implemented in both /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x1077d4bc0) and /Library/Application Support/Adobe/Adobe Desktop Common/Notifications/NotificationManager.dylib (0x108a5bbe0). One of the two will be used. Which one is undefined. Jan 29 19:33:28 Marcs-NotAMacBook-Pro Adobe Desktop Service[526]: objc[526]: Class HTTPHeader is implemented in both /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x1077d4b70) and /Library/Application Support/Adobe/Adobe Desktop Common/ExchangePlugin/ExchangePluginDylib.dylib (0x108d12778). One of the two will be used. Which one is undefined. Jan 29 19:33:28 Marcs-NotAMacBook-Pro Adobe Desktop Service[526]: objc[526]: Class ProxyManager is implemented in both /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x1077d4bc0) and /Library/Application Support/Adobe/Adobe Desktop Common/ExchangePlugin/ExchangePluginDylib.dylib (0x108d127c8). One of the two will be used. Which one is undefined. Jan 29 19:33:29 Marcs-NotAMacBook-Pro Adobe Desktop Service[526]: objc[526]: Class HTTPHeader is implemented in both /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x1077d4b70) and /Applications/Utilities/Adobe Creative Cloud/ACC/ContainerBL.dylib (0x10a0969d8). One of the two will be used. Which one is undefined. Jan 29 19:33:29 Marcs-NotAMacBook-Pro Adobe Desktop Service[526]: objc[526]: Class ProxyManager is implemented in both /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x1077d4bc0) and /Applications/Utilities/Adobe Creative Cloud/ACC/ContainerBL.dylib (0x10a096a28). One of the two will be used. Which one is undefined. Jan 29 19:33:31 Marcs-NotAMacBook-Pro Adobe Desktop Service[526]: objc[526]: Class HTTPHeader is implemented in both /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x1077d4b70) and /Applications/Utilities/Adobe Creative Cloud/HomePanel/HomePanelBL.bundle/Contents/MacOS/HomePanelBL (0x10b88c680). One of the two will be used. Which one is undefined. Jan 29 19:33:31 Marcs-NotAMacBook-Pro Adobe Desktop Service[526]: objc[526]: Class ProxyManager is implemented in both /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x1077d4bc0) and /Applications/Utilities/Adobe Creative Cloud/HomePanel/HomePanelBL.bundle/Contents/MacOS/HomePanelBL (0x10b88c6d0). One of the two will be used. Which one is undefined. Jan 29 19:33:31 Marcs-NotAMacBook-Pro Adobe Desktop Service[526]: objc[526]: Class HTTPHeader is implemented in both /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x1077d4b70) and /Library/Application Support/Adobe/Adobe Desktop Common/HDBox/HDPIM.dylib (0x10e84d900). One of the two will be used. Which one is undefined. Jan 29 19:33:31 Marcs-NotAMacBook-Pro Adobe Desktop Service[526]: objc[526]: Class ProxyManager is implemented in both /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x1077d4bc0) and /Library/Application Support/Adobe/Adobe Desktop Common/HDBox/HDPIM.dylib (0x10e84d950). One of the two will be used. Which one is undefined. Jan 29 19:33:31 Marcs-NotAMacBook-Pro Adobe Desktop Service[526]: objc[526]: Class HTTPHeader is implemented in both /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x1077d4b70) and /Applications/Utilities/Adobe Creative Cloud/AppsPanel/AppsPanelIL.dylib (0x10ed67d00). One of the two will be used. Which one is undefined. Jan 29 19:33:31 Marcs-NotAMacBook-Pro Adobe Desktop Service[526]: objc[526]: Class ProxyManager is implemented in both /Library/Application Support/Adobe/Adobe Desktop Common/Core/AdobePIM.dylib (0x1077d4bc0) and /Applications/Utilities/Adobe Creative Cloud/AppsPanel/AppsPanelIL.dylib (0x10ed67d50). One of the two will be used. Which one is undefined. Jan 29 19:33:32 Marcs-NotAMacBook-Pro com.apple.xpc.launchd[1] (com.apple.coreimportd): Unknown key for dictionary: NoEnvironmentVariables Jan 29 19:33:32 Marcs-NotAMacBook-Pro suhelperd[560]: objc[560]: Class SUReachabilityMonitor is implemented in both /System/Library/PrivateFrameworks/SoftwareUpdate.framework/Versions/A/SoftwareUpdate and /System/Library/CoreServices/Software Update.app/Contents/Resources/suhelperd. One of the two will be used. Which one is undefined. Jan 29 19:33:32 Marcs-NotAMacBook-Pro suhelperd[560]: objc[560]: Class SUPrinterScan is implemented in both /System/Library/PrivateFrameworks/SoftwareUpdate.framework/Versions/A/SoftwareUpdate and /System/Library/CoreServices/Software Update.app/Contents/Resources/suhelperd. One of the two will be used. Which one is undefined. Jan 29 19:33:32 Marcs-NotAMacBook-Pro suhelperd[560]: objc[560]: Class SUSignedFlatPkg is implemented in both /System/Library/PrivateFrameworks/SoftwareUpdate.framework/Versions/A/SoftwareUpdate and /System/Library/CoreServices/Software Update.app/Contents/Resources/suhelperd. One of the two will be used. Which one is undefined. Jan 29 19:33:32 Marcs-NotAMacBook-Pro suhelperd[560]: objc[560]: Class SUPowerAssertionManager is implemented in both /System/Library/PrivateFrameworks/SoftwareUpdate.framework/Versions/A/SoftwareUpdate and /System/Library/CoreServices/Software Update.app/Contents/Resources/suhelperd. One of the two will be used. Which one is undefined. Jan 29 19:33:32 Marcs-NotAMacBook-Pro suhelperd[560]: objc[560]: Class SUPowerSourceMonitor is implemented in both /System/Library/PrivateFrameworks/SoftwareUpdate.framework/Versions/A/SoftwareUpdate and /System/Library/CoreServices/Software Update.app/Contents/Resources/suhelperd. One of the two will be used. Which one is undefined. Jan 29 19:33:32 Marcs-NotAMacBook-Pro suhelperd[560]: objc[560]: Class SUURLConnection is implemented in both /System/Library/PrivateFrameworks/SoftwareUpdate.framework/Versions/A/SoftwareUpdate and /System/Library/CoreServices/Software Update.app/Contents/Resources/suhelperd. One of the two will be used. Which one is undefined. Jan 29 19:33:32 Marcs-NotAMacBook-Pro suhelperd[560]: objc[560]: Class KeychainMasterHandler is implemented in both /usr/lib/libIASAuthReboot.dylib and /System/Library/CoreServices/Software Update.app/Contents/Resources/suhelperd. One of the two will be used. Which one is undefined. Jan 29 19:33:33 Marcs-NotAMacBook-Pro rtcreportingd[562]: objc[562]: Class UpdateAndReportServices is implemented in both /System/Library/PrivateFrameworks/RTCReporting.framework/Versions/A/RTCReporting and /usr/libexec/rtcreportingd. One of the two will be used. Which one is undefined. Jan 29 19:33:33 Marcs-NotAMacBook-Pro rtcreportingd[562]: objc[562]: Class RTCReportingDeallocNotifier is implemented in both /System/Library/PrivateFrameworks/RTCReporting.framework/Versions/A/RTCReporting and /usr/libexec/rtcreportingd. One of the two will be used. Which one is undefined. Jan 29 19:33:33 Marcs-NotAMacBook-Pro rtcreportingd[562]: objc[562]: Class RTCReportingAggregationObject is implemented in both /System/Library/PrivateFrameworks/RTCReporting.framework/Versions/A/RTCReporting and /usr/libexec/rtcreportingd. One of the two will be used. Which one is undefined. Jan 29 19:33:33 Marcs-NotAMacBook-Pro rtcreportingd[562]: objc[562]: Class RTCReporting is implemented in both /System/Library/PrivateFrameworks/RTCReporting.framework/Versions/A/RTCReporting and /usr/libexec/rtcreportingd. One of the two will be used. Which one is undefined. Jan 29 19:33:36 Marcs-NotAMacBook-Pro com.apple.xpc.launchd[1] (com.google.keystone.system.agent[476]): Service exited with abnormal code: 1 Jan 29 19:33:38 Marcs-NotAMacBook-Pro Spotlight[350]: assertion failed: 19C57: libxpc.dylib + 91878 [AC9AD00D-BAA9-3ABC-B557-77E604CF9955]: 0x89 Jan 29 19:33:39 Marcs-NotAMacBook-Pro GoogleSoftwareUpdateDaemon[589]: objc[589]: Class KSPaths is implemented in both /Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Frameworks/DeviceManagement.framework/Versions/A/DeviceManagement (0x10fc74b48) and /Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/MacOS/GoogleSoftwareUpdateDaemon (0x10fa63e50). One of the two will be used. Which one is undefined. Jan 29 19:33:39 Marcs-NotAMacBook-Pro GoogleSoftwareUpdateDaemon[589]: objc[589]: Class KSBundle is implemented in both /Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Frameworks/DeviceManagement.framework/Versions/A/DeviceManagement (0x10fc74aa8) and /Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/MacOS/GoogleSoftwareUpdateDaemon (0x10fa64210). One of the two will be used. Which one is undefined. Jan 29 19:33:40 Marcs-NotAMacBook-Pro AGMService[481]: ProcessPath : /Applications/Google Chrome.app/Contents/MacOS/Google Chrome 

I tried with FixShutdown and same results at ~60% battery.

submitted by /u/skr33t
[link] [comments]