Quick answer
Keep Slack Active When You Close Your Laptop
When your laptop enters sleep mode by closing the lid, hitting a timeout, or manually sleeping, all applications pause and network connections are severed. Slack disconnects from its servers within seconds and marks you away. No local app can maintain presence during sleep because the entire system is offline. The only solution is a cloud-based scheduler that runs on external servers independently of your device's power state.
Why this happens
When your laptop enters sleep mode, all applications pause completely. Slack's desktop app disconnects from Slack servers, and the web app in your browser suspends. Unlike screen lock where apps may still run in the background, sleep mode halts all network activity. Your laptop essentially goes offline. Slack interprets this disconnection as inactivity and marks you away within seconds. This is by design, macOS, Windows, and Linux all suspend network connections during sleep to save power.
The reliable solution
Local workarounds try to keep your device active, but they can't solve the fundamental problem: Slack needs constant signals from your device. When your device sleeps, locks, or loses connection, those signals stop.
Cloud-based presence scheduling like Idle Pilot runs on always-connected servers. It maintains your Slack status during scheduled hours regardless of what your device is doing.
- Works even when your laptop is closed or off
- No local installs or device workarounds needed
- No workspace bot or admin approval required
- Set your schedule once, it handles the rest
Platform-specific options
Here are platform-specific settings you can adjust. Note that these are workarounds with limitations, not complete solutions.
Mac
- 1 Open System Settings > Battery > Options and enable 'Prevent automatic sleeping when the display is off' (available on desktop Macs and MacBooks when plugged in)
- 2 For Intel Macs: Use 'sudo pmset -b disablesleep 1' in Terminal to prevent sleep on battery, and 'sudo pmset -b disablesleep 0' to re-enable it
- 3 Install Amphetamine from the Mac App Store to prevent sleep on demand with a menu bar toggle
- 4 Note: Apple Silicon Macs handle sleep differently than Intel Macs, and some pmset options are not available
Limitation: Preventing sleep drains battery rapidly and generates heat, making it impractical for portable work or when you genuinely want to close your laptop and move.
Windows
- 1 Open Settings > System > Power & sleep and set 'Sleep' to 'Never' when plugged in
- 2 Open Control Panel > Power Options > Choose what closing the lid does and set 'When I close the lid' to 'Do nothing' for both battery and plugged in
- 3 For finer control, open an elevated command prompt and run 'powercfg /change standby-timeout-ac 0' to disable sleep on AC power
- 4 Note: These settings keep your laptop running with the lid closed, consuming power and generating heat
Limitation: Keeping the laptop awake with the lid closed drains battery rapidly and can cause overheating if the vents are blocked by the closed lid.
Linux
- 1 Edit /etc/systemd/logind.conf and set HandleLidSwitch=ignore to prevent sleep on lid close, then restart systemd-logind
- 2 Use 'systemd-inhibit --what=sleep --who=work --why=presence sleep infinity &' to temporarily block sleep during a work session
- 3 Install caffeine-ng or gnome-shell-extension-caffeine for a GUI toggle that inhibits sleep on demand
- 4 Check your desktop environment's power management settings for per-profile sleep configuration
Limitation: Linux power management varies by distribution and desktop environment. Preventing sleep affects battery life and may cause thermal issues on laptops with limited airflow.
Set up scheduled presence in 3 steps
Get reliable Slack presence without device workarounds:
- Step 1
Connect your Slack account
Authorize Idle Pilot to update your presence. This uses Slack's standard OAuth, no workspace bot installation needed.
- Step 2
Set your schedule
Choose the days and hours you want to appear active. Set your timezone so it aligns with your actual work hours.
- Step 3
Enable and forget
Turn on your schedule and you're done. Idle Pilot keeps your Slack status active during those hours, regardless of your device state.
Troubleshooting
Laptop wakes briefly but then sleeps again
Wake timers and scheduled tasks can't maintain continuous presence. Cloud scheduling provides reliable coverage.
External monitor disconnects triggering sleep
Configure lid close behavior separately from display disconnection. Better yet, use scheduling that doesn't care about display state.
Battery drains too fast when preventing sleep
This is expected. Cloud-based presence scheduling lets your laptop sleep normally while maintaining Slack status.
Slack shows away immediately when lid closes
Closing the lid disconnects all network connections instantly. There's no local workaround because the OS suspends all apps. Cloud-based presence is the only solution that works with the lid closed.
Clamshell mode with external monitor still causes away
Even in clamshell mode, macOS may throttle background apps. If Slack loses its WebSocket connection, you'll go away. Cloud scheduling maintains presence regardless of display configuration.
Hibernate vs sleep: which is worse for Slack?
Both disconnect Slack. Hibernate writes memory to disk and powers off completely, while sleep maintains a low-power state. Neither keeps Slack connected. Cloud scheduling works in both cases.
FAQs
Why doesn't Slack stay active when I close my laptop lid?
Closing your laptop lid typically triggers sleep mode, which halts all applications and network connections. Slack cannot maintain presence because the entire system goes offline. This is fundamental to how sleep mode works.
Can I prevent my Mac from sleeping to keep Slack active?
Yes, but it's impractical for most use cases. Preventing sleep drains battery quickly and generates heat. Cloud-based scheduling lets your Mac sleep normally while maintaining Slack presence from external servers.
Does hibernate mode affect Slack differently than sleep?
Hibernate mode saves your session to disk and completely powers off, which is even more final than sleep for Slack presence. Both modes result in Slack marking you away within seconds of the mode activating.
Why does Slack show away even after I wake my laptop?
When you wake your laptop, Slack needs to reconnect to servers. There's a brief period where it's establishing the connection. Additionally, you may have been marked away for the entire sleep duration, which coworkers may have already noticed.
Can Wake on LAN help keep Slack active?
Wake on LAN can wake a sleeping computer, but it's designed for network access, not for maintaining Slack presence. Even if you could wake the computer periodically, Slack presence requires continuous activity signals, not just an awake system.
What happens to Slack status when using an external monitor with lid closed?
This depends on your power settings. If configured to stay awake with lid closed and external display, Slack can stay active. However, this requires being plugged in and defeats portable laptop use. Cloud scheduling works regardless of your display setup.
Related guides
Related resources
Slack auto-away is the automatic system that switches your presence status from …
GlossarySlack's idle timeout is the period of inactivity after which Slack automatically…
ComparisonIdle Pilot wins for Slack presence; Caffeine is better for preventing system sle…
ComparisonIdle Pilot wins for Slack presence; keep-awake apps win for preventing system sl…
Status Ideas15 ideas
Ready for reliable Slack presence?
Stop fighting with device settings and workarounds. Idle Pilot keeps your Slack status active on a schedule, even when your laptop is closed.
Explore more resources