We’re taking a little break from our Android Wear projects on our Android customization series, we were going to return to root tips, tools and tricks this week, but our project will work on most any phone or tablet. We’d like to take a look at a feature that is found on only a few devices today, and make it work on any Android phone or tablet.
The idea is simple, many new devices with AMOLED displays come equipped with a feature called Ambient Display, simply turning the display on for a few seconds to show you new notifications. This is a handy feature, one that is predominantly reserved for devices with AMOLED displays simply for battery preservation purposes.
Like I said, forget about battery life, we want the feature on our old-school Nexus tablet. For this we turn to our old friend, Tasker, and the plug-in Secure Settings.
Before we begin
You will require a fairly modern device to follow along today, we are having success with Marshmallow and Lollipop devices, but not as much luck on an older KitKat device. Go ahead and install Tasker and Secure Settings, Tasker is $2.99 in the Google Play Store and Secure Settings is free with in-app purchases to unlock extra functions.
Secure Settings - Google Play StoreTasker - Google Play Store
Ambient Display on your Android phone or tablet
Before we jump in, I just wanted to say again, Ambient Display is made for AMOLED displays because the display tech only turns on the pixels required to display the minimal message, using very little battery to do so. Our project today will need to completely turn on your display, this will eat a great deal of your battery throughout the day, especially if you configure exactly as I will be.
Related reading: Real time battery drain warnings
If battery life is not of concern, good, let’s get started.
Open up Tasker and start a new Task, let’s call it “AmbientNotification”
Tap the “+” button to add your first action.
Select Secure Settings.
Tap the pencil Configuration button.
Select Wake Device.
Change the Duration to an amount of time that makes sense for you. Remember your battery life.
Click Save at the top.
Tap the system Back button a couple times, we’re done with the Task, let’s now create the associated Profile.
Head over to the Profiles tab and start a new Profile.
Tap on the spaceship icon to the right of Owner Application.
Tap the All button in the bottom right, or choose your desired apps to have turn on the display.
Tap the system Back button twice again to save and exit to the next step.
Select your Ambient Notification Task from the list.
Wait, the whole point of Ambient Display is to show you your latest incoming notification, good thing we already handled this in a previous project:
Finally, you’ll need to turn off your display for this to work, obviously. But before it does, please consider the extra security settings that you’ll need to grant to Tasker and Secure Settings.
I might have told you this in the first place, sorry, head into your main system settings, go to Security -> Device administrators and grant Tasker and Secure Settings admin access. When that’s done, head over to the Sound & notification settings to grant Notification access for Tasker. If you follow along after the break, you’ll want to also go into App notifications and make Tasker a Priority.
Just for the fun of it I decided to pop up a Tasker notification along with this ambient display project. it serves no point except proof of concept. You could, however, work with our Android Wear project from last week. You can handle yours so that it provides an actionable card on your smartwatch. Like, maybe a button to dismiss this ambient display so it does not eat so much battery.
Now that, hopefully, your creative juices are flowing, remember that we took the fairly obvious notifications as our trigger to turn on the display. You could dive deep and consider many other things to pop on the display, remember that you can use Tasker and Secure Settings to bypass the lock, then display a Tasker Scene to show off any info you’d like.
Here’s a cool project I just thought up, but won’t be building for myself, pair your phone and your tablet (or WiFi camera and tablet) so that with each shot you take the photo pops up for a few seconds on the tablet. This will rely on network traffic and probably a combination of services like Dropbox and IFTTT, but I believe in you.
I hope this little Ambient Display trick on your Android device was useful for you, next week on our Android customization series will be something fairly similar. Perhaps a different project, but we’ll continue with these tools next week, we are, after all, huge fans of Tasker.
Have you noticed any significant battery drain changes after created your own Ambient Display project on your non-AMOLED Android device?
More Android customization projects:
- Tasker on your Android Wear smartwatch - Android customization
- Use your smartwatch as a camera remote for your phone - Android customization
- Getting started with IF by IFTTT for Android Wear - Android customization
- Tasker location and network tracking, time card part 2 - Android customization
- Build real-time battery drain warnings using Tasker - Android customization