How to Set App Screen-Time Limits With Warnings in MacroDroid

Screen-time limits usually fail for a simple reason: they arrive as a surprise. You are deep in a feed or a game, the app suddenly locks, and you feel punished rather than helped. A warning changes that experience completely. If your phone tells you at eighty percent of your limit that you have ten minutes left, and again at five minutes, the limit feels like a choice you made earlier, not an ambush. You can finish what you are doing, save your progress, and close the app yourself, which is far more satisfying than being ejected mid-scroll.

This guide builds a screen-time limit system in MacroDroid with warnings built in. It tracks how long you have used a chosen app each day, warns you as you approach the limit, and then applies a gentle block when the limit is reached. It uses Android’s Digital Wellbeing app timers where available as the foundation, because those timers are built into the system and reliable, and MacroDroid as the warning and tracking layer around them. Where Digital Wellbeing is not available or not preferred, the guide explains a MacroDroid-only tracking approach using variables and app-launch triggers.

Why warnings matter more than the limit itself

A limit without a warning is a cliff. A limit with warnings is a slope. Psychologically, the slope works better because it gives you time to disengage gracefully. You can reply to a message, finish a level, or note where you left off, rather than losing your place abruptly. Over weeks, that graceful exit builds trust in the system: you stop dreading the limit, because you know it will announce itself in advance, and you stop disabling it in frustration.

Warnings also protect battery in a subtle way. An abrupt lock often leads to an immediate reopen attempt, then another lock, then a cycle of bouncing that keeps the screen on and the app active. A warned user who closes the app deliberately tends to stay closed, which means the screen goes off, the app goes to background, and the phone rests. The limit itself saves the most battery by preventing hours of extra use; the warnings save the additional churn that a harsh limit creates.

Finally, warnings make limits adjustable. If you consistently receive the five-minute warning and feel you need more time, that is data: either the limit is too strict for that app, or the app is serving a genuine purpose that day. You can adjust the limit deliberately, rather than disabling it entirely in a moment of annoyance. A system you tune is a system you keep.

Prerequisites

Pick one app to start with, not five. The app should be one where you regularly overshoot: a social feed, a video app, or a game are typical candidates. Check your current usage for that app in Digital Wellbeing or battery settings over the last week, and choose a limit slightly below your current average, not drastically below it. If you currently use an app for two hours a day, a limit of ninety minutes is a realistic first step; a limit of thirty minutes will feel punitive and will be disabled within days.

Decide your warning points. Two warnings work well for most people: one at seventy-five percent of the limit, and one at five minutes remaining, or at ninety percent, whichever comes first. Write these down, because you will enter them as thresholds in the macro. Also decide what happens at the limit: a gentle block that returns you to the home screen, a notification that the limit is reached, or both. This guide uses both, because the notification explains the block.

Grant MacroDroid usage access, so it can detect when the app is in the foreground, and notification access, so it can warn you. Turn off battery optimisation for MacroDroid, because a tracker that is paused by the system will undercount usage and let you overshoot without warning, which undermines trust in the whole system.

Step-by-step setup

We will build in two layers: the system timer, and the MacroDroid warnings.

Step 1: Set the Digital Wellbeing app timer

Open Settings, then Digital Wellbeing, then Dashboard, and find your chosen app. Tap it and set an app timer to your chosen limit, for example ninety minutes. Digital Wellbeing will handle the hard stop at the limit: when time runs out, the app icon greys out and the app cannot be opened until the next day, unless you change the timer. This is the reliable foundation. Note that Digital Wellbeing timers reset daily at midnight, which matches the daily-limit concept in this guide.

If your phone does not have Digital Wellbeing, or you prefer not to use it, skip to the MacroDroid-only tracking method in Step 4, and treat that as your foundation instead.

Step 2: Create a usage-tracking variable in MacroDroid

Create a macro named Screen Time Tracker. Add an Application Launched trigger for your chosen app, and an Application Closed or background trigger if available. The simplest reliable tracking method in MacroDroid is to use a variable that increments periodically while the app is in the foreground. Add a Set Variable action that creates a variable called app_minutes_today, starting at zero each day. Add a Day/Time Trigger at midnight that resets it to zero, so each day starts fresh. This midnight reset is essential; without it, yesterday’s usage would count against today.

Step 3: Add periodic counting while the app is open

In the tracker macro, add a loop or a repeating check: while the chosen app is in the foreground, wait one minute, then increment app_minutes_today by one. MacroDroid’s exact loop options vary, so use the repeating trigger or wait-and-check pattern your version supports, and test it with a short interval first. The goal is a variable that roughly tracks minutes used today. It does not need to be precise to the second; it needs to be accurate enough to warn at seventy-five percent and at five minutes remaining, which a minute-level count achieves.

Step 4: Add warning actions

Create a second macro named Screen Time Warnings. Add a Variable Changed trigger, or a periodic check, that fires when app_minutes_today reaches your first warning point. For a ninety-minute limit, the first warning is at about sixty-seven minutes, which is seventy-five percent. Its action is a Notification and, optionally, a floating text message saying, for example, You have used 67 of 90 minutes in this app today. Add a second warning at eighty-five minutes, saying Five minutes left today. Keep the wording factual and neutral, not scolding. A neutral warning is one you will tolerate daily; a judgemental warning is one you will silence.

Step 5: Add the limit-reached action

Add a third trigger or step that fires when app_minutes_today reaches ninety minutes. Its actions are a Notification saying Daily limit reached for this app, and, if you are not relying on Digital Wellbeing’s hard stop, an Application Launched block similar to the focus-session blocker: when the app launches and the variable is at or above the limit, return to the home screen with a message. If you are using Digital Wellbeing, the hard stop already handles the block, and the MacroDroid notification simply explains it, which is still valuable because Digital Wellbeing’s own message can be easy to miss.

Save all macros and leave them enabled.

Testing and verification

Test with a tiny limit first, not your real ninety minutes. Set the limit to five minutes, the first warning to three minutes, and the second warning to four minutes, and use the app normally. You should receive the first warning at three minutes, the second at four, and the block or Digital Wellbeing stop at five. Check the MacroDroid log to confirm the variable incremented each minute and each warning fired on time. If any warning is late or missing, the counting loop is the problem, and you should fix it before using a real limit.

Once the tiny test passes, restore your real limit and warning points, and test for a full day. Note whether warnings arrived at the expected times, and whether the limit felt fair. If you received no warnings but hit the limit, the variable reset or the trigger is misconfigured. If you received warnings but the app did not block, check whether Digital Wellbeing’s timer is set and whether the MacroDroid block macro is enabled. The log will distinguish these cases quickly.

Also test the midnight reset. After midnight, the variable should return to zero and the app should be usable again. If it is not, the reset macro’s trigger time or day selection is wrong. A limit that never resets is not a limit; it is a permanent block, and it will be disabled immediately.

Troubleshooting

If usage is undercounted, MacroDroid was probably paused by battery optimisation, or the app was used in a way the trigger does not capture, such as picture-in-picture or split screen. Set MacroDroid to unrestricted, and check whether split-screen or floating-window use is counted on your phone. If it is not, accept a small undercount and set your warning points slightly earlier to compensate, rather than chasing perfect accuracy.

If usage is overcounted, the counting loop may be incrementing even when the app is in the background. Add a constraint that the app must be in the foreground for the increment to occur, and retest with the tiny limit. Overcounting is more frustrating than undercounting, because it triggers warnings early and erodes trust, so fix it promptly.

If Digital Wellbeing and MacroDroid disagree, trust Digital Wellbeing for the hard stop and MacroDroid for the warnings, and adjust the MacroDroid thresholds to match Digital Wellbeing’s count more closely. A small disagreement of a few minutes is normal, because the two systems count slightly differently. Set warnings a few minutes earlier than the Digital Wellbeing limit to absorb that difference, so the warning always precedes the stop.

If you constantly override the limit, the limit is too strict, not the system. Raise it by fifteen minutes and observe for a week. A limit you respect is better than a strict limit you bypass daily, because bypassing trains you to ignore the system entirely.

Tips for limits that last

Start with one app and one limit, and live with it for two weeks before adding a second app. Screen-time systems fail most often through overreach: five apps, five limits, five warning sets, all configured on day one, all disabled on day three. One app done well teaches you how warnings feel, how the midnight reset works, and what limit is realistic for you. That learning transfers to the next app, and the system grows sustainably.

Review limits monthly, not daily. Daily adjustment turns the limit into a negotiation you have with yourself every evening, which is exhausting. Monthly review, based on a week of usage data, is calmer and more honest: did the limit help, did it feel fair, does it need a fifteen-minute adjustment? Also, celebrate the days you stay within the limit, especially for an app you previously used excessively. A limit system that only punishes overshoots, and never acknowledges successes, feels like a warden rather than a tool.

Finally, pair limits with a replacement activity. A limit creates a gap in your day; if that gap is empty, you will fill it with another distracting app. Decide in advance what you will do with the saved time, whether it is reading, walking, work, or simply resting. A limit plus a plan is a habit change; a limit alone is just a locked door with other doors nearby.

Frequently asked questions

Do I need Digital Wellbeing, or can MacroDroid do this alone?

Digital Wellbeing provides the most reliable hard stop, so use it if available. MacroDroid alone can track usage with variables and block launches when the limit is reached, which works well, but it requires careful testing of the counting loop. Many people use both: Digital Wellbeing for the stop, MacroDroid for the warnings.

How accurate is MacroDroid usage tracking?

Accurate to within a few minutes per day when battery optimisation is off and the foreground constraint is set correctly. It is not precise to the second, and split-screen or picture-in-picture use may be counted differently. That level of accuracy is sufficient for warnings, which are the main purpose of the tracking.

What happens at midnight?

Both systems reset. Digital Wellbeing timers reset daily, and the MacroDroid midnight macro resets the tracking variable to zero. The app becomes usable again, and a new day’s limit begins. If the app does not reset, check the midnight macro’s trigger and day settings.

Can I set different limits for weekdays and weekends?

Yes. Set the Digital Wellbeing timer to your weekday limit, and use MacroDroid variables to apply a different weekend limit, or create separate weekday and weekend macros with different thresholds. Keep the naming clear, such as Weekday Limit and Weekend Limit, so you can tell them apart.

Should children or other family members use this system?

This guide is written for your own phone and your own limits. For a child’s device, use the dedicated family or parental-control tools provided by Android and your device manufacturer, which offer stronger enforcement and remote management. MacroDroid limits on your own phone are a self-management tool, not a parental-control replacement.

Leave a Comment