News for hackers. Stuff that matters.
Re:Apple gave me the Hey treatment back in 2014 by Andrew_nenakhov on Friday June 19, 2020 @03:15AM (#23571909)
It is a godsend only up to a point when you can't run an app in the background even if you badly need to. The computers (and Android devices are computers) should not be putting their users into straight jackets so they won't hurt themselves. Users should have an option to do what they want. The system's job is to inform that what they are doing is using battery. If a user is OK with it, the system SHOULD NOT interfere.
Re:Apple gave me the Hey treatment back in 2014 by ex3ndr on Friday June 19, 2020 @03:33AM (#23571998)
Using such information is so hard that almost impossible. I could spend a year tailoring battery performance for a messenger and still get random guy who have some exotic phone with some strange behaviour.

There are really almost no need to run app in the background or at least constantly send data without a reason (mostly just tracking).

UPD: When deciding how to build something i have one small trick: first ask question about who can make better decision about something?

For example? Who is more capable to make decision about battery usage, about tweaking core performance, etc? It is obviously kernel or silicone itself. App will never have required information to build perfect performant app for every device. This just means that you have to build a kernel by yourself and even more: common kernel for every phone.

Re:Apple gave me the Hey treatment back in 2014 by Andrew_nenakhov on Friday June 19, 2020 @04:02AM (#23572174)
> Using such information is so hard that almost impossible.

Aren't battery stats not enough for you? If your app uses too much battery, you can stop using it. Or you prefer some other people to make this decision for you?