Does Google TV require things like WakeLocks?

I can not find this information in the docs ...

On the phone or tablet, I understand that we need things like acquiring WakeLocks and WifiLocks due to battery consumption. However, on a TV that is constantly connected, I cannot imagine the need for them.

So, on Google TV:

  • Does the screen remain at all times?
  • Is the screen fading?
  • Does the processor stay for all the time?
  • Do I need to worry about things like WakeLocks , WifiLocks or MulticastLocks ?
+4
source share
1 answer

My experience is only with Logitech Revue, which controls the TV via HDMI. Thus, it has limited control over energy saving features. However, here is my experience with him ...

Does the screen remain at all times?

Yes. He always sends a signal.

Is the screen fading?

No, but he has a screen saver that turns on after a while. Presumably, you can use wakelock to disable this (although I never tested it).

Does the processor stay for all the time?

I would like to think that a processor can fade out if it is idle, just like most desktop / laptop computers. However, I have never tested it.

This should not be something your application needs to worry about.

Do I ever need to worry about things like WakeLocks, WifiLocks or MulticastLocks?

WakeLocks = It is possible to disable the screensaver.

WifiLocks / MulticastLocks = Probably not, but it's a good practice anyway. This will simplify the transfer of your application between devices, and it is always possible that something will change in the future, as the GTV will be deployed on multiple devices.

+2
source

Source: https://habr.com/ru/post/1387109/


All Articles