Razer 15 Goes to sleep whenever it is plugged in or unplugged

Strange little issue I’m having. Whenever I plug in or unplug my charger the laptop goes to sleep. I had journalctl running while i unplugged it and got the following output

-- Logs begin at Thu 2020-07-23 03:17:13 MDT. --
Aug 21 16:08:30 Razer15 kernel: audit: type=1131 audit(1598047710.207:307): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Aug 21 16:08:38 Razer15 org_kde_powerdevil[1448]: powerdevil: Scheduling inhibition from ":1.18" "My SDL application" with cookie 1635 and reason "Playing a game"                                                                
Aug 21 16:08:43 Razer15 org_kde_powerdevil[1448]: powerdevil: Enforcing inhibition from ":1.18" "My SDL application" with cookie 1635 and reason "Playing a game"                                                                 
Aug 21 16:08:43 Razer15 org_kde_powerdevil[1448]: powerdevil: Added change screen settings
Aug 21 16:08:43 Razer15 org_kde_powerdevil[1448]: powerdevil: Added interrupt session
Aug 21 16:08:43 Razer15 org_kde_powerdevil[1448]: powerdevil: Disabling DPMS due to inhibition
Aug 21 16:08:43 Razer15 org_kde_powerdevil[1448]: powerdevil: Can't contact ck
Aug 21 16:09:08 Razer15 org_kde_powerdevil[1448]: powerdevil: Releasing inhibition with cookie  1635
Aug 21 16:09:08 Razer15 org_kde_powerdevil[1448]: powerdevil: Restoring DPMS features after inhibition release
Aug 21 16:09:08 Razer15 org_kde_powerdevil[1448]: powerdevil: Can't contact ck
Aug 21 16:11:11 Razer15 org_kde_powerdevil[1448]: powerdevil:
Aug 21 16:11:11 Razer15 org_kde_powerdevil[1448]: powerdevil: Can't contact ck
Aug 21 16:11:11 Razer15 org_kde_powerdevil[1448]: powerdevil: Currently using activity  "140ff190-62db-4e7d-bfb7-71f1ee0b1e8c"                                                                                                    
Aug 21 16:11:11 Razer15 org_kde_powerdevil[1448]: powerdevil: () ()
Aug 21 16:11:11 Razer15 org_kde_powerdevil[1448]: powerdevil: () ()
Aug 21 16:11:11 Razer15 org_kde_powerdevil[1448]: powerdevil: Loading profile for unplugged AC
Aug 21 16:11:11 Razer15 org_kde_powerdevil[1448]: powerdevil: Activity is not forcing a profile
Aug 21 16:11:11 Razer15 org_kde_powerdevil[1448]: powerdevil:
Aug 21 16:11:11 Razer15 org_kde_powerdevil[1448]: powerdevil: Loading timeouts with  300000
Aug 21 16:11:11 Razer15 org_kde_powerdevil[1448]: powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool, true))("Type", QVariant(uint, 1)))                                                                  
Aug 21 16:11:11 Razer15 org_kde_powerdevil[1448]: powerdevil: Suspend session triggered with QMap(("Explicit", QVariant(bool, true))("SkipFade", QVariant(bool, true))("Type", QVariant(uint, 1)))                                
Aug 21 16:11:11 Razer15 org_kde_powerdevil[1448]: powerdevil: Starting Login1 suspend job
Aug 21 16:11:11 Razer15 org_kde_powerdevil[1448]: powerdevil: Pausing all media players before sleep
Aug 21 16:11:11 Razer15 kded5[1341]: bluedevil: About to suspend
Aug 21 16:11:11 Razer15 ModemManager[721]: <info>  [sleep-monitor] system is about to suspend
Aug 21 16:11:11 Razer15 NetworkManager[606]: <info>  [1598047871.7010] manager: sleep: sleep requested (sleeping:no  enabled: yes)
Aug 21 16:11:11 Razer15 NetworkManager[606]: <info>  [1598047871.7011] device (p2p-dev-wlo1): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Aug 21 16:11:11 Razer15 NetworkManager[606]: <info>  [1598047871.7021] manager: NetworkManager state is now ASLEEP
Aug 21 16:11:11 Razer15 kscreenlocker_greet[84733]: Qt: Session management error: networkIdsList argument is NULL
Aug 21 16:11:11 Razer15 kscreenlocker_greet[84733]: Icon theme "ubuntu-mono-dark" not found.
Aug 21 16:11:11 Razer15 kscreenlocker_greet[84733]: Icon theme "Mint-X" not found.
Aug 21 16:11:11 Razer15 kscreenlocker_greet[84733]: Icon theme "elementary" not found.
Aug 21 16:11:11 Razer15 kscreenlocker_greet[84733]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreen.qml:52:5: QML Connections: Implicitly defined onFoo properties in Connections aredeprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Aug 21 16:11:11 Razer15 kscreenlocker_greet[84733]: kf.package: No metadata file in the package, expected it at: "/usr/share/backgrounds/"
Aug 21 16:11:11 Razer15 kscreenlocker_greet[84733]: kf.package: No metadata file in the package, expected it at: "/usr/share/backgrounds/"
Aug 21 16:11:11 Razer15 kscreenlocker_greet[84733]: kf.package: No metadata file in the package, expected it at: "/usr/share/backgrounds/"
Aug 21 16:11:11 Razer15 kscreenlocker_greet[84733]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList
Aug 21 16:11:11 Razer15 kscreenlocker_greet[84733]: file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int
Aug 21 16:11:12 Razer15 systemd[1]: Reached target Sleep.
Aug 21 16:11:12 Razer15 systemd[1]: Starting Suspend...
Aug 21 16:11:12 Razer15 kscreenlocker_greet[84733]: UdevQt: unable to create udev monitor connection
Aug 21 16:11:12 Razer15 kscreenlocker_greet[84733]: qt.svg: <input>:406:376: Could not add child element to parent element because the types are incorrect.
Aug 21 16:11:12 Razer15 kscreenlocker_greet[84733]: qt.svg: <input>:407:126: Could not add child element to parent element because the types are incorrect.
Aug 21 16:11:12 Razer15 kscreenlocker_greet[84733]: qt.svg: <input>:408:126: Could not add child element to parent element because the types are incorrect.
Aug 21 16:11:12 Razer15 kscreenlocker_greet[84733]: qt.svg: <input>:408:385: Could not add child element to parent element because the types are incorrect.
Aug 21 16:11:12 Razer15 kscreenlocker_greet[84733]: qt.svg: <input>:409:125: Could not add child element to parent element because the types are incorrect.
Aug 21 16:11:12 Razer15 kscreenlocker_greet[84733]: qt.svg: <input>:410:124: Could not add child element to parent element because the types are incorrect.
Aug 21 16:11:12 Razer15 kscreenlocker_greet[84733]: qt.svg: <input>:411:125: Could not add child element to parent element because the types are incorrect.
Aug 21 16:11:12 Razer15 kscreenlocker_greet[84733]: qt.svg: <input>:411:371: Could not add child element to parent element because the types are incorrect.
Aug 21 16:11:12 Razer15 kscreenlocker_greet[84733]: qt.svg: <input>:411:619: Could not add child element to parent element because the types are incorrect.
Aug 21 16:11:12 Razer15 kscreenlocker_greet[84733]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:209:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use thissyntax instead: function onFoo(<arguments>) { ... }
Aug 21 16:11:12 Razer15 kscreenlocker_greet[84733]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:209:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use thissyntax instead: function onFoo(<arguments>) { ... }
Aug 21 16:11:12 Razer15 kscreenlocker_greet[84733]: Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Aug 21 16:11:12 Razer15 kscreenlocker_greet[84733]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:209:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use thissyntax instead: function onFoo(<arguments>) { ... }
Aug 21 16:11:12 Razer15 kscreenlocker_greet[84733]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:209:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use thissyntax instead: function onFoo(<arguments>) { ... }
Aug 21 16:11:12 Razer15 kscreenlocker_greet[84733]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:209:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use thissyntax instead: function onFoo(<arguments>) { ... }
Aug 21 16:11:12 Razer15 kscreenlocker_greet[84733]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/MainBlock.qml:88:13: QML Connections: Implicitly defined onFoo properties in Connections aredeprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Aug 21 16:11:12 Razer15 kscreenlocker_greet[84733]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml:64:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Aug 21 16:11:12 Razer15 kscreenlocker_greet[84733]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml:41:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Aug 21 16:11:12 Razer15 kscreenlocker_greet[84733]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/SessionManagementScreen.qml:64:5: Unable to assign [undefined] to int
Aug 21 16:11:12 Razer15 kscreenlocker_greet[84733]: file:///usr/lib/qt/qml/org/kde/plasma/components/Button.qml:52: ReferenceError: PlasmaCore is not defined
Aug 21 16:11:12 Razer15 kscreenlocker_greet[84733]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/ActionButton.qml:33:5: Unable to assign [undefined] to int
Aug 21 16:11:12 Razer15 kscreenlocker_greet[84733]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/KeyboardLayoutButton.qml:29:5: Unable to assign [undefined] to int
Aug 21 16:11:12 Razer15 kscreenlocker_greet[84733]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/Battery.qml:48:9: Unable to assign [undefined] to double
Aug 21 16:11:12 Razer15 kscreenlocker_greet[84733]: qt.virtualkeyboard.hunspell: Hunspell dictionary is missing for "en_US" . Search paths ("/usr/share/qt/qtvirtualkeyboard/hunspell", "/usr/share/hunspell", "/usr/share/myspell/dicts")
Aug 21 16:11:12 Razer15 kscreenlocker_greet[84733]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/UserDelegate.qml:41:5: Unable to assign [undefined] to int
Aug 21 16:11:14 Razer15 systemd-sleep[84803]: Suspending system...
Aug 21 16:11:14 Razer15 kernel: PM: suspend entry (deep)
Aug 21 16:11:14 Razer15 kernel: Filesystems sync: 0.010 seconds
Aug 21 16:11:16 Razer15 kernel: pcieport 0000:00:01.0: PME: Spurious native interrupt!
Aug 21 16:11:17 Razer15 org_kde_powerdevil[1448]: powerdevil: ACTIVE SESSION PATH CHANGED: "/"
Aug 21 16:11:17 Razer15 org_kde_powerdevil[1448]: powerdevil: Switched to inactive session - leaving unchanged
Aug 21 16:11:25 Razer15 kernel: Freezing user space processes ... (elapsed 0.004 seconds) done.
Aug 21 16:11:25 Razer15 kernel: OOM killer disabled.
Aug 21 16:11:25 Razer15 kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Aug 21 16:11:25 Razer15 kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Aug 21 16:11:25 Razer15 kernel: wlo1: deauthenticating from 54:b2:03:26:aa:c8 by local choice (Reason: 3=DEAUTH_LEAVING)
Aug 21 16:11:25 Razer15 kernel: ACPI: EC: interrupt blocked
Aug 21 16:11:25 Razer15 kernel: ACPI: Preparing to enter system sleep state S3
Aug 21 16:11:25 Razer15 kernel: ACPI: EC: event blocked
Aug 21 16:11:25 Razer15 kernel: ACPI: EC: EC stopped
Aug 21 16:11:25 Razer15 kernel: PM: Saving platform NVS memory
Aug 21 16:11:25 Razer15 kernel: Disabling non-boot CPUs ...
Aug 21 16:11:25 Razer15 kernel: smpboot: CPU 1 is now offline
Aug 21 16:11:25 Razer15 kernel: smpboot: CPU 2 is now offline
Aug 21 16:11:25 Razer15 kernel: smpboot: CPU 3 is now offline
Aug 21 16:11:25 Razer15 kernel: smpboot: CPU 4 is now offline
Aug 21 16:11:25 Razer15 kernel: smpboot: CPU 5 is now offline
Aug 21 16:11:25 Razer15 kernel: smpboot: CPU 6 is now offline
Aug 21 16:11:25 Razer15 kernel: smpboot: CPU 7 is now offline
Aug 21 16:11:25 Razer15 kernel: smpboot: CPU 8 is now offline
Aug 21 16:11:25 Razer15 kernel: smpboot: CPU 9 is now offline
Aug 21 16:11:25 Razer15 kernel: smpboot: CPU 10 is now offline
Aug 21 16:11:25 Razer15 kernel: smpboot: CPU 11 is now offline
Aug 21 16:11:25 Razer15 kernel: smpboot: CPU 12 is now offline
Aug 21 16:11:25 Razer15 kernel: smpboot: CPU 13 is now offline
Aug 21 16:11:25 Razer15 kernel: smpboot: CPU 14 is now offline
Aug 21 16:11:25 Razer15 kernel: smpboot: CPU 15 is now offline
Aug 21 16:11:25 Razer15 kernel: ACPI: Low-level resume complete
Aug 21 16:11:25 Razer15 kernel: ACPI: EC: EC started
Aug 21 16:11:25 Razer15 kernel: PM: Restoring platform NVS memory
Aug 21 16:11:25 Razer15 kernel: Enabling non-boot CPUs ...
Aug 21 16:11:25 Razer15 kernel: x86: Booting SMP configuration:
Aug 21 16:11:25 Razer15 kernel: smpboot: Booting Node 0 Processor 1 APIC 0x2
Aug 21 16:11:25 Razer15 kernel: CPU1 is up
Aug 21 16:11:25 Razer15 kernel: smpboot: Booting Node 0 Processor 2 APIC 0x4
Aug 21 16:11:25 Razer15 kernel: CPU2 is up
Aug 21 16:11:25 Razer15 kernel: smpboot: Booting Node 0 Processor 3 APIC 0x6
Aug 21 16:11:25 Razer15 kernel: CPU3 is up
Aug 21 16:11:25 Razer15 kernel: smpboot: Booting Node 0 Processor 4 APIC 0x8
Aug 21 16:11:25 Razer15 kernel: CPU4 is up
Aug 21 16:11:25 Razer15 kernel: smpboot: Booting Node 0 Processor 5 APIC 0xa
Aug 21 16:11:25 Razer15 kernel: CPU5 is up
Aug 21 16:11:25 Razer15 kernel: smpboot: Booting Node 0 Processor 6 APIC 0xc
Aug 21 16:11:25 Razer15 kernel: CPU6 is up
Aug 21 16:11:25 Razer15 kernel: smpboot: Booting Node 0 Processor 7 APIC 0xe
Aug 21 16:11:25 Razer15 kernel: CPU7 is up
Aug 21 16:11:25 Razer15 kernel: smpboot: Booting Node 0 Processor 8 APIC 0x1
Aug 21 16:11:25 Razer15 kernel: CPU8 is up
Aug 21 16:11:25 Razer15 kernel: smpboot: Booting Node 0 Processor 9 APIC 0x3
Aug 21 16:11:25 Razer15 kernel: CPU9 is up
Aug 21 16:11:25 Razer15 kernel: smpboot: Booting Node 0 Processor 10 APIC 0x5
Aug 21 16:11:25 Razer15 kernel: CPU10 is up
Aug 21 16:11:25 Razer15 kernel: smpboot: Booting Node 0 Processor 11 APIC 0x7
Aug 21 16:11:25 Razer15 kernel: CPU11 is up
Aug 21 16:11:25 Razer15 kernel: smpboot: Booting Node 0 Processor 12 APIC 0x9
Aug 21 16:11:25 Razer15 kernel: CPU12 is up
Aug 21 16:11:25 Razer15 kernel: smpboot: Booting Node 0 Processor 13 APIC 0xb
Aug 21 16:11:25 Razer15 kernel: CPU13 is up
Aug 21 16:11:25 Razer15 kernel: smpboot: Booting Node 0 Processor 14 APIC 0xd
Aug 21 16:11:25 Razer15 kernel: CPU14 is up
Aug 21 16:11:25 Razer15 kernel: smpboot: Booting Node 0 Processor 15 APIC 0xf
Aug 21 16:11:25 Razer15 kernel: CPU15 is up
Aug 21 16:11:25 Razer15 kernel: ACPI: Waking up from system sleep state S3
Aug 21 16:11:25 Razer15 kernel: ACPI Error: No handler for Region [VRTC] (00000000e79fe3a8) [SystemCMOS] (20200326/evregion-127)
Aug 21 16:11:25 Razer15 kernel: ACPI Error: Region SystemCMOS (ID=5) has no handler (20200326/exfldio-261)
Aug 21 16:11:25 Razer15 kernel: ACPI Error: Aborting method \_SB.PCI0.LPCB.EC0.RTEC due to previous error (AE_NOT_EXIST) (20200326/psparse-529)
Aug 21 16:11:25 Razer15 kernel: ACPI Error: Aborting method \RWAK due to previous error (AE_NOT_EXIST) (20200326/psparse-529)
Aug 21 16:11:25 Razer15 kernel: ACPI Error: Aborting method \_WAK due to previous error (AE_NOT_EXIST) (20200326/psparse-529)
Aug 21 16:11:25 Razer15 kernel: ACPI Error: AE_NOT_EXIST, While executing method \_WAK (20200326/hwesleep-47)
Aug 21 16:11:25 Razer15 kernel: ACPI: EC: interrupt unblocked
Aug 21 16:11:25 Razer15 kernel: ACPI: EC: event unblocked
Aug 21 16:11:25 Razer15 kernel: nvme nvme0: Shutdown timeout set to 8 seconds

You can see that at 16:11:11 I unplug the AC power and it just goes to sleep for some reason. Does anybody know why this happends? I included some of the boot up process as well if that says anything to people who know what they are looking for. Thanks in advance!

Edit: I guess I should also say that im on Linux 5.7.14-1

Hello,

can you check your power settings under system settings and see what the sleep values are? You may have to up the time the computer goes to sleep.

Have a great day!

So I tried updating some of the power settings in Settings >> Power Management. I noticed that the computer goes to sleep whenever I make a change and hit Apply. I tried setting all the settings to be the same, switching screen off after 20 min and going to sleep after 25, but the problem persists.

Well, I don’t have any other suggestions, other than do a search via internet and see if this is a ongoing issue with the laptop itself.

1 Like