Laptop Wakes itself from Sleep [solved]

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
wolf_math
Level 1
Level 1
Posts: 9
Joined: Sun Nov 30, 2014 1:08 pm
Contact:

Laptop Wakes itself from Sleep [solved]

Post by wolf_math » Wed Sep 11, 2019 2:23 pm

I'm running Linux Mint Cinnamon 19.2 on a MacBook Pro (2014 11,2 or 2015 12,1: I'm not sure which). It worked perfectly before the upgrade from 19.1 to 19.2. After upgrade the computer will sleep exactly twice when lid is closed. After the third time closing the lid the computer will wake itself from sleep after a few seconds and prompt for a password (while the lid is still closed mind you) as though I had just opened it. This has lead to more than one occasion of dead battery in my bag.

I've closed all windows and made sure that it wasn't a program that was waking the computer. It doesn't stay asleep when I select sleep from the menu either. The only option I have after two sleeps is to reboot.

Any suggestions?
Last edited by wolf_math on Thu Sep 12, 2019 1:14 pm, edited 1 time in total.

User avatar
Pjotr
Level 21
Level 21
Posts: 13190
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Laptop Wakes itself from Sleep

Post by Pjotr » Wed Sep 11, 2019 2:27 pm

Please generate an overview of your system like this:
- Launch a terminal window (this is how to launch a terminal window);
- make the terminal window full screen, to avoid chopped lines;
- Copy/paste this command into the terminal:

Code: Select all

inxi -Fxz
(if you type: the letter F is a capital letter)

Press Enter.

Copy/paste the output in your next message.
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
Spearmint2
Level 16
Level 16
Posts: 6167
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: Laptop Wakes itself from Sleep

Post by Spearmint2 » Wed Sep 11, 2019 5:54 pm

I don't know why for sure, but check in BIOS to see if you have WOL (wake on lan) turned on, and if so, turn it off. See if that stops it.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

wolf_math
Level 1
Level 1
Posts: 9
Joined: Sun Nov 30, 2014 1:08 pm
Contact:

Re: Laptop Wakes itself from Sleep

Post by wolf_math » Thu Sep 12, 2019 1:54 am

The output for

Code: Select all

inxi -Fxz
is as follows:

Code: Select all

System:    Host: maffbook Kernel: 4.15.0-62-generic x86_64 bits: 64 compiler: gcc v: 7.4.0 
           Desktop: Cinnamon 4.2.4 Distro: Linux Mint 19.2 Tina base: Ubuntu 18.04 bionic 
Machine:   Type: Laptop System: Apple product: MacBookPro11,1 v: 1.0 serial: <filter> 
           Mobo: Apple model: Mac-189A3D4F975D5FFC v: MacBookPro11,1 serial: <filter> BIOS: Apple 
           v: MBP111.88Z.0138.B16.1509081438 date: 09/08/2015 
Battery:   ID-1: BAT0 charge: 40.8 Wh condition: 69.0/71.5 Wh (97%) model: DP bq20z451 
           status: Discharging 
CPU:       Topology: Dual Core model: Intel Core i5-4278U bits: 64 type: MT MCP arch: Haswell rev: 1 
           L2 cache: 3072 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 20799 
           Speed: 1100 MHz min/max: 800/3100 MHz Core speeds (MHz): 1: 1099 2: 1100 3: 1100 4: 1105 
Graphics:  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Apple driver: i915 v: kernel 
           bus ID: 00:02.0 
           Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa 
           resolution: 2560x1600~60Hz 
           OpenGL: renderer: Mesa DRI Intel Haswell v: 4.5 Mesa 19.0.8 direct render: Yes 
Audio:     Device-1: Intel Haswell-ULT HD Audio vendor: Apple driver: snd_hda_intel v: kernel 
           bus ID: 00:03.0 
           Device-2: Intel 8 Series HD Audio driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
           Device-3: Broadcom and subsidiaries 720p FaceTime HD Camera driver: bdc-pci bus ID: 02:00.0 
           Sound Server: ALSA v: k4.15.0-62-generic 
Network:   Device-1: Broadcom and subsidiaries BCM4360 802.11ac Wireless Network Adapter vendor: Apple 
           driver: wl v: kernel port: efa0 bus ID: 03:00.0 
           IF: wlp3s0 state: up mac: <filter> 
Drives:    Local Storage: total: 233.76 GiB used: 167.98 GiB (71.9%) 
           ID-1: /dev/sda vendor: Apple model: SSD SM0256F size: 233.76 GiB 
Partition: ID-1: / size: 87.50 GiB used: 28.65 GiB (32.7%) fs: ext4 dev: /dev/sda2 
           ID-2: /home size: 140.17 GiB used: 69.66 GiB (49.7%) fs: ext4 dev: /dev/sda3 
           ID-3: swap-1 size: 952.5 MiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-0 
Sensors:   System Temperatures: cpu: 30.7 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 242 Uptime: 5m Memory: 7.70 GiB used: 968.1 MiB (12.3%) Init: systemd runlevel: 5 
           Compilers: gcc: 7.4.0 Shell: bash v: 4.4.20 inxi: 3.0.32 

User avatar
Pjotr
Level 21
Level 21
Posts: 13190
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Laptop Wakes itself from Sleep

Post by Pjotr » Thu Sep 12, 2019 4:29 am

Strange.... I advise this:

1. A workaround:
https://easylinuxtipsproject.blogspot.c ... t.html#ID3
(item 3)

2. A shot in the dark:
https://easylinuxtipsproject.blogspot.c ... html#ID5.1
(item 5.1)

3. Another shot in the dark:
https://easylinuxtipsproject.blogspot.c ... .html#ID15
(item 15)
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

wolf_math
Level 1
Level 1
Posts: 9
Joined: Sun Nov 30, 2014 1:08 pm
Contact:

Re: Laptop Wakes itself from Sleep

Post by wolf_math » Thu Sep 12, 2019 1:13 pm

I tried all of the above without any success. However, I formatted the boot drive and did a complete reinstall of the operating system. It seemed to have solved the problem.

Post Reply

Return to “Hardware Support”