In other words, if it knows you click through Instagram only during your morning and afternoon coffee breaks, it'll close it in the interim -- and save you some battery life. Similarly, Android P has a feature called Adaptive Brightness that dims the screen when it predicts you won't need it lit up so much.

Click here to catch up on the latest news from Google I/O 2018!