1. Download our Official Android App: Forums for Android!

Limit mobile data usage?

Discussion in 'Android Apps & Games' started by banderberg, Nov 8, 2012.

  1. banderberg

    banderberg Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    5
    Joined:
    Mar 16, 2011

    Mar 16, 2011
    5
    0
    5
    I wonder if it's possible to use Tasker to shut off mobile data if I use some predetermined amount of data in a day?

    I have a 2GB per month plan, which is about 66 MB per day. I'd like to tell Tasker to turn off Mobile data for the day once my usage gets to 66 MB. At midnight it can turn mobile data back on.

    Is this possible?
     

    Advertisement

  2. SUroot

    SUroot Android Expert
    Rank:
    None
    Points:
    1,123
    Posts:
    23,925
    Joined:
    May 25, 2010

    May 25, 2010
    23,925
    5,304
    1,123
    UK Technical Lead; Desktop Support
    Riddlesden, West Yorkshire, UK
    You would first need an application to monitor data usage. I would expect you need the application to create a file or something like that to trigger an event in tasker. Not sure, could be tricky.
     
  3. electricpete

    electricpete Android Expert
    Rank:
     #77
    Points:
    393
    Posts:
    2,054
    Joined:
    Jan 7, 2012

    Jan 7, 2012
    2,054
    1,013
    393
    Male
    Electrical Engineer
    I have some features built into Tasker to help manage my Mobile data usage.

    I turn on Mobile data using a widget.
    The widget changes from grey (glossy silver ipack) to red (orange ipack) to remind me it's on.
    Every 15 minutes when data is on, I get a reminder.
    ** When my display goes off and stays off for 30 seconds, data gets turned off. This is simple feature to avoid leaving it on.

    Once per day (11AM), Tasker sends an sms message to AT&T asking how much data I have. Tasker takes the response and uses it to update my Data widget label (so it always shows my data usage as of the last 11AM).

    I also have 3G Watchdog widget which keeps track of usage in between but is not 100% accurate. Every once in awhile if my Tasker data widget shows more than 3G watchdog, I manually update the counters to make them match. 3G watchdog also puts an icon into the notification area when Data is active... that's another handy reminder. Could also be done with Tasker but 3G Watchdog does fine.
     
  4. bberryhill0

    bberryhill0 Android Expert
    Rank:
     #102
    Points:
    273
    Posts:
    2,716
    Joined:
    Jan 27, 2010

    How do you change the widget label and color?

    * Got it. It's a Tasker action. How do you get the sms into Tasker?
     
  5. electricpete

    electricpete Android Expert
    Rank:
     #77
    Points:
    393
    Posts:
    2,054
    Joined:
    Jan 7, 2012

    Jan 7, 2012
    2,054
    1,013
    393
    Male
    Electrical Engineer
    I have a profile that goes active when received text matches a certain string:
    *Data (MB)*

    The profile calls a task which examines the contents of the Text message which is stored in %SMSRB

    Since the message always has the same format, I can use split command to extract the MB number from the message.
     
    Dieben and bberryhill0 like this.

Share This Page

Loading...