How can an app know whether the Android AlarmManager will be able to function
on a Google TV device in the face of power policies set by device
manufacturers, with or without user preferences?
We have a use-case for automated recordings. Each day, given a wakeup alarm
from AlarmManager, the app should check for newly-scheduled sports games to
record.
The expectation of an Android app is that an alarm scheduled with AlarmManager
for, say, realtime 1 day from now, will indeed fire (e.g., to see if new game
schedules are available for recording). However, if a Google TV device like
the LG TV is turned off after TV viewing (very likely), the embedded Android
environment is also turned off, and the AlarmManager will not necessarily fire
at the appointed time.
However, on a Google TV manufactured by Sony, there is another twist: the
possibility that the user has enabled "QuickStart Mode", where Android still
receives power even after the TV or stand-alone GTV device is (ostensibly)
powered down.
Please modify the specification for Google TV to include 2 additional
requirements:
* a "QuickStart" mode, where power-off off the larger device (e.g., TV) keeps power on to Android
* an API within Google TV that gets/sets whether this QuickStart is enabled
Additionally, it would be nice to programmatically set the QuickStart mode. If
this is deemed too insecure/difficult, it would be nice to have a means (an
intent?) to send users directly to the system settings UI for QuickStart mode.
Original issue reported on code.google.com by larha...@gmail.com on 19 Jul 2012 at 12:32
Original issue reported on code.google.com by
larha...@gmail.com
on 19 Jul 2012 at 12:32