Turning off mobile data: method used to work but now doesn't On my old phone I used to turn on mobile data when I wanted to check emails... but I would often forget to turn it off afterwards. To fix this problem I installed Macrodroid and programmed it to turn off mobile data every time the screen turned off. This was my perfect solution and was very happy with it for years.

Now I have a newer phone (Android 5.0.1) and was very sad to see that with this version of android it appears that Macrodroid can no longer turn off mobile data. This now means that when I occasionally forget to turn it off manually I can use up a ton of data. Now you might say "no worries, just set a mobile data limit" - but this does not solve the problem at all - it may mean that I won't go over my limit but that's of little comfort when it means that I have used up all my data and can not use it again till the next billing period.

Is there any other way to manage my forgetfulness?

By the way I know that macrodroid can control mobile data if the phone is rooted - but my banking app, which I use regularly, detects a rooted phone and refuses to run.
It is possible to toggle mobile data without root, using Tasker and AutoInput plugin.

Important: This feature requires screen to be on.
(Some users report that it only works if screen lock security is set to none or swipe.)

You need to perform two tasks as follows:


A1: Go to new action >> Plugin >> AutoInput >> Unlock screen
A2: Net >> Mobile data >> [Set Off or toggle (whatever you wish)]
Exit to save Task


Note: AutoInput also  emulates user swipes on the screen, which means that you can pull down the notification menu and then toggle whatever you want, including mobile data.

Create a condition/profile that suits your needs.

Tested on Android 4

Acknowledgements: 
New to Tasker: toggle Mobile Data + GPS on non-rooted device