Skip to main content

Android 13 Developer Preview 2 features notifications for excessive battery usage

Google has rolled out the Developer Preview 2 of Android 13 and even though most of the changes are meant for developers, there is this new notification system that would notify you of apps that consume a large amount of battery. This would be applicable to all apps on Android 13, regardless of the target SDK version. Besides, there is also a system notification for long-lasting foreground services of apps.

Android 13 System Notifications for Excess Battery Use

Android logo

So, there are warning for both excessive battery use and long-running foreground services.

The excessive background battery use notification will be triggered if the app drinks more than its fair share of battery juice in the background in a 24-hour window. You don’t want that and now you’ll know. To decide if it’s unusually high, the system takes into account the following factors:

Foreground services, even those that have visible notifications Work tasks, including expedited work Broadcast receivers Background services Your app's cache

As for developers, Android 13 has shared the rules for when the system can put their apps into a “restricted” zone and what the app can do while in this state. These are guidelines are called ‘battery-preserving measures’.

Devs are to note that the notification pertaining to Background battery use once shown will then be shown after at least 24 hours later. As for the one related to the foreground service, the notification asks the user to take a look at the Foreground Services (FGS) Task Manager and perhaps even take some action. This particular notification will thence be shown at least 30 days later.

However, not all apps will be governed by these rules. The exemptions include:

System apps and system-bound apps Companion device apps Apps running on a device in Demo Mode Device owner apps Profile owner apps Persistent apps VPN apps Apps that have the ROLE_DIALER role Apps that the user has explicitly designated to provide "unrestricted" functionality in system settings

Android 13 Notification Permission Request

Android 13 Notification Permission Request

Other than this battery-related setting, Android 13 also wants developers to seek permission for sending notifications, auto-downgrade previously user-granted permissions that aren't required anymore, support for Bluetooth LE, support for MIDI 2.0, a smooth At-a-Glance transition animation, freeform multi-window mode by default, and a new taskbar for Android on large-screen devices.

We will keep you posted on other Android 13 related updates. Till then, keep reading Digit.in for more such news, reviews, feature stories, buying guides, and everything else tech-related.



from Mobile Phones News https://ift.tt/jIdaYFz

Comments

Popular posts from this blog

First ever drone-delivered kidney is no worse for wear

Drone delivery really only seems practical for two things: take-out and organ transplants. Both are relatively light and also extremely time sensitive. Well, experiments in flying a kidney around Baltimore in a refrigerated box have yielded positive results — which also seems promising for getting your pad thai to you in good kit. The test flights were conducted by researchers at the University of Maryland there, led by surgeon Joseph Scalea. He has been frustrated in the past with the inflexibility of air delivery systems, and felt that drones represent an obvious solution to the last-mile problem. Scalea and his colleagues modified a DJI M600 drone to carry a refrigerated box payload, and also designed a wireless biosensor for monitoring the organ while in flight. After months of waiting, their study was assigned a kidney that was healthy enough for testing but not good enough for transplant. Once it landed in Baltimore, the team loaded it into the container and had it travel 14 ...

The saddest movies on Netflix

Image via IMDB . Whether it’s a cartoon classic , quirky indie film , or uproarious comedy , everyone loves a feel-good movie, but sometimes it’s just not what you want. Sometimes you want something glum, something dark, something sad. Netflix has a great selection of all kinds of movies, and plenty of it is perfect for when all you want is to sit in the dark and really stew in it. Here are some of the saddest movies on Netflix right now. Saddest movies on Netflix: Schindler’s List Roma The Boy in the Striped Pyjamas Tallulah Paddleton Okja A Silent Voice Editor’s note:  This list will be updated as sad movies leave and other new arrivals debut on Netflix. 1. Schindler’s List  image via IMDB . This is probably the saddest movie on Netflix, and maybe one of the saddest movies of all time. Schindler’s List focuses on the true story of Oskar Schindler (Liam Neeson), a German businessman who used his factory to employ and eventually smuggle 1,200 Jews o...

Best phones under 20,000 rupees in India (August 2019)

There used to be a very clear divide between mid-range and high-end smartphones. The great news is that the lines have increasingly blurred over the past few years. Today, it is easy to find a phone with a great camera, excellent build quality, and powerful hardware at a fraction of the cost of a flagship. Here are the best phones under 20,000 rupees in India! Best phones under 20,000 rupees in India: Realme X Xiaomi Redmi Note 7 Pro Samsung Galaxy A50 Realme 3 Pro Vivo S1 Samsung Galaxy M40 Vivo Z1 Pro Oppo F11 Nokia 8.1 Motorola One Vision 1. Realme X It doesn’t take very long for premium features to trickle down to the affordable price range. It’s still fantastic to see and exciting for consumers. While Xiaomi is usually expected to be the leader in making these jumps, it’s Realme that takes the lead this time around with the Realme X . The Realme X was the first phone under 20,000 rupees to come with an all-screen front with no notches in sight. The front-...