On 6/23/2010 10:00 AM, Graham Cobb wrote:
It should be up to the app developer.  If they have a neat idea for how to
adjust behaviour dependent on whatever they feel are the appropriate
parameters (power, temperature, connectivity, time since last update, what I
had for breakfast...) then they should be able to do it. The system should
provide the information the app developer needs to implement their ideas and
the users will judge them.

the information if you're on battery/etc is obviously available; there are very legitimate uses for that (just to mention the most obvious one: the icon that shows how much battery you have left).

Just it's not what we want to recommend to app writers to use in power scenarios.

I *could* see a point of a am_I_power_sensitive() function somewhere
(which takes more into account than just ac/battery)

however I can also write it with 95% accuracy as

int am_I_power_sensisitive(void)
{
    return 1;
}

that's correct for servers and phones that are discharging or charging, and many other scenarios ;-)


_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to