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

Specs comparison: Honor Play 8A vs Honor 8X

The Honor 8A has been the talk of the town for quite a period of time. The phone was leaked on TENNA earlier then revealed on the Chinese website called Weibo. Finally, the smartphone got launched in China last week with a MediaTek chipset. On the other hand, the Honor 8X is another mid-range segment device by the company that is powered by a Kirin 710 octa-core processor. We are comparing these two smartphones to see which one will be the right choice in terms of specifications?  The Honor Play 8A sports a 6.03-inch display that offers a resolution of 720 x 1560 pixels, while the Honor 8X features a slightly bigger 6.05-inch display that comes with a resolution of 1080 x 2340 pixels. The Honor Play 8A has a water-drop notch on top of it, which houses the front-facing camera, while the Honor 8X has a traditional notch.  Coming to the processor, the Honor 8X is powered by a Kirin 710 octa-core processor, which is paired with 4GB RAM and 64GB internal memory. On the other hand, the Hono

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

Face unlock easily defeated with photo in over 30 smartphone models

We’ve seen a resurgence in face unlock across the mobile industry, arguably due to Apple’s  iPhone X  touting the technology. Unfortunately, a new study shows that plenty of phones can be defeated with a simple photo. The Dutch  Consumentenbond organization found that out of 110 devices tested, 42 could be unlocked with a high quality photo of the owner (h/t: The Register ). To be fair, the organization counted regional and dual-SIM variants as separate models in its testing, so the real number of dodgy devices is actually in the 30s. Nevertheless, this still represents a massive number of devices that are vulnerable to a simple photo. The list wasn’t restricted to a few manufacturers either, as the likes of Alcatel , BlackBerry , Huawei , Lenovo , Nokia , Sony , and Xiaomi were all featured here. Most of these phones were budget devices, but we also have a few flagships affected by shoddy face unlock. These devices include the HTC U11 Plus , the Huawei P20 Pro , and Sony’s Xper