Caffeine Not Working: Teams Still Shows Away on Mac
A keep-awake app stops your Mac sleeping, but Teams still sets Away when the Mac locks or idles. Here is what Microsoft documents, and what to change.
GuideUpdated 7 min read
On this page
You installed Caffeine, Amphetamine or a similar app. The Mac stays awake, and Teams (or Slack, or a time tracker like Hubstaff) still turns yellow and says Away. Some people say Caffeine "only just stopped working with the new Teams." This guide covers what Microsoft documents about Away, what you can change on a Mac, and where the limits are.
We make Glowmoth, a keep-awake app. It doesn't move the pointer or press keys, and it isn't a fix for this problem.
Why a keep-awake app doesn't keep Teams green
A keep-awake app asks macOS not to idle-sleep. That is a different thing from telling a chat app that you are present. Microsoft's support page says Teams will automatically set your status from Available to Away when you lock your computer or when it enters idle or sleep mode. The same page says that Teams also does this when the Teams app is in the background, and the wording differs by section for desktop, web and mobile.
So a keep-awake app helps in one narrow case: the display went dark, the screen saver started or the Mac slept, and that triggered Away. It does nothing about these:
- Lock. If the Mac locks on a timer, Teams sees a locked computer, whether the Mac is awake or not.
- Idle time. Microsoft's page doesn't give an exact idle timeout, and we haven't found an official number.
- Background app state. Microsoft's page ties Away to Teams being in the background, so a window you left behind can matter.
- Other apps. Slack and time trackers such as Hubstaff have their own rules. We have no verified information on how they decide, so check their documentation or ask your admin.
We can't confirm why a particular keep-awake app seemed to stop working after a Teams update. If Teams changed how it reads presence, swapping one keep-awake app for another won't change that.
Step-by-step fixes
1. Find out whether sleep or lock caused the Away
- The next time Teams shows Away, check the Mac right away. Is the display dark, or is the lock screen showing?
- If the Mac was awake and unlocked, sleep and lock are not your cause. A keep-awake app won't change anything, so go to fix 2.
- If it was dark or locked, open System Settings and search for Lock Screen.
- Compare the screen saver, display-off and require-password timers with the time you went Away.
- Lengthen the timers that line up with it, if your company policy allows. Some employers enforce these timers with a profile.
Microsoft's own advice is to change your device's sleep or idle settings so more time passes before your status switches from Available to Away. That is the supported lever tied to the Mac itself.
2. In Teams for web, turn on the activity-outside-Teams setting
Microsoft documents a setting for this in Teams for web, under the heading "Keep your current status when active outside Teams." When you enable it, your browser shows a permission prompt asking if Teams can detect your activity in other tabs or apps.
Open the Teams for web settings and look for that presence setting. Then choose Allow in the browser prompt. If you select Block, Teams won't detect activity outside the app, and your status may change to Away even if you're working elsewhere. The steps are on Microsoft's page, Change your status in Microsoft Teams.
3. Set a status with a duration for planned focus time
If you will be reading or thinking for a while, set your status on purpose instead of fighting the idle detector.
- Select your profile picture in Teams, then your current status, then Duration.
- Under Status, choose the status you want to show.
- Under Reset status after, pick a time, or choose Custom and enter a date and time.
- Select Done.
Three limits apply:
- You can set durations for any status except Available.
- A more available status (like Busy) will not override a less available status (like Away), even if its duration is set.
- At the end of the time you entered, Teams resets your status based on your activity, your calendar and the state of your computer.
A status message such as "reading, reply by phone" also tells colleagues what is going on, and it doesn't depend on any detector.
4. Restart Teams and check other devices
If your status looks stale or wrong while you are actively using Teams, quit and reopen the Teams app on your Mac. Test with Teams signed in on one device only, so a phone or second computer isn't affecting what others see. Microsoft doesn't spell this out on the page above, so treat it as a test, not a guaranteed fix. If the status is still wrong while you are actively working, ask your Microsoft 365 admin to look at it.
5. For Slack and time trackers, use their own settings
Slack and Hubstaff decide presence or activity by their own rules, and we haven't verified what those are. Look in their help centers for how they define "away" or "idle." If your employer chose the tool, ask them what counts as activity.
Which cause matches which fix
| What you see | Likely cause | What helps |
|---|---|---|
| Away appears after the screen goes dark | Display sleep or idle | Longer display timer; keep-awake app with display on |
| Away appears with the lock screen showing | Mac locked | Longer lock timers, if policy allows |
| Away in Teams for web while you work in other tabs | Teams can't see activity outside it | Presence setting above, and Allow the prompt |
| Away while the Mac is awake, unlocked and untouched | Idle state | Status with a duration; status message |
| Status wrong while you are actively using Teams | Possible presence problem | Restart Teams; contact your admin |
Why we don't build "stay green"
Glowmoth has no mouse jiggling, fake key presses or stay-green mode, and that is deliberate. Presence rules exist so colleagues know when you are reachable. Tools that simulate input, such as hardware jigglers or software that moves the pointer, can conflict with your employer's or client's monitoring rules. That is true especially where a time tracker is involved. We won't walk you through them, and the risk falls on you, not on the software.
If Away is costing you credibility, a short conversation usually works better:
- Tell your manager that long reading or review stretches show as Away, and ask what they prefer.
- Ask IT whether the idle and lock timers can change for your role.
- Use a status message or a timed status when you step into focused work.
Checklist before you try again
- The display and lock timers are longer than your typical no-input stretch.
- You checked whether the Mac was asleep or locked when Teams went Away.
- In Teams for web, the activity-outside-Teams setting is on and the browser prompt is set to Allow.
- You tested with Teams signed in on one device.
- You restarted Teams after the last macOS or Teams update.
If nothing works
Contact whoever controls presence: your Microsoft 365 admin for Teams, your workspace admin or Slack support for Slack, and the vendor of your time tracker. A keep-awake app's developer can't change those rules. Include the exact behavior, when it started, app and macOS versions, whether you use the desktop or web client, and what you tried.
Hi, my Teams status switches to Away on my Mac even though the Mac is awake and unlocked.
Teams: desktop / web (delete one), version: ____
macOS version: ____
Started: ____ (after an update? which one?)
Signed in on other devices: yes / no
What I tried: longer display and lock timers, restarted Teams, checked the web presence setting, used a status with a duration.
Can you check my presence on your side, and tell me whether the idle behavior can be adjusted for my account?Common questions
Does Caffeine stop Teams from going to Away?
Not reliably. It prevents sleep and screen dimming, which matters only if the display turning off triggered Away. It doesn't send input or tell Teams you are present.
Can I set Teams to stay Available permanently?
Microsoft's page says durations can't be set for Available, and Teams returns to automatic behavior when a duration ends. We found no supported setting that pins Available.
Why does Teams go Away while I'm working in another app?
Microsoft ties Away to lock, idle, sleep and Teams being in the background. In Teams for web, the activity-outside-Teams setting is documented for this case. For the desktop app, we found no official statement either way.
Will a longer Mac sleep timer fix it?
It can delay the Available-to-Away switch when sleep or idle is the trigger, and Microsoft recommends it. It won't help if the Mac locks first or if Teams is in the background.