화면 보호 모드는 Google TV 및 Android TV에 내장된 화면 보호기입니다. 정적 이미지를 장시간 표시하지 않기 위한 것입니다. 이는 화면 번짐이 발생할 수 있는 OLED와 같은 디스플레이 기술에 중요합니다.
OS는 사용자가 10분 동안 활동이 없으면 기기를 대기 모드로 전환합니다. 사용자가 더 이상 활동하지 않는 기간(기기 절전 모드 설정에 의해 정의됨)이 지나면 OS가 절전 모드로 전환되어 디스플레이의 전원이 꺼집니다. 미디어 재생 앱은 사용자가 상호작용하지 않더라도 기기가 대기 모드로 전환되지 않도록 할 수 있습니다(예: 영화 시청 중).
사용자가 대기 모드로 전환된 후 30분 이내에 기기와 상호작용하면 대기 모드로 전환되었을 때 활성 상태였던 앱이 복원됩니다.
사용자가 대기 모드로 전환한 후 30분이 지나서 기기와 상호작용하면 홈 화면으로 돌아갑니다.
사용자가 기기가 절전 모드일 때 전원 버튼을 사용하여 기기를 시작하면 홈 화면으로 이동합니다. 또는 사용자가 특정 앱 버튼(예: YouTube)을 사용하여 기기가 절전 모드인 상태에서 기기를 시작하면 해당 앱으로 바로 이동합니다.
오디오 재생의 경우 앱이 정적 이미지가 아닌 자체 화면 보호기를 구현하지 않는 한 재생 중에 대기 모드를 방해해서는 안 됩니다.
대기 모드가 활성화된 동안 오디오 재생은 계속됩니다.
Android의 오디오 재생은 암시적으로 부분 wake lock을 보유합니다.
이렇게 하면 기기가 대기 모드로 전환되는 것을 막지 않지만 이후에 절전 모드로 전환되는 것은 막습니다. 따라서 기기가 대기 모드로 전환된 후에도 재생이 계속되지만, 재생이 중단되지 않도록 기기가 절전 모드로 전환되지 않습니다.
대기 모드 방지
OS가 기기를 대기 모드로 전환하지 못하도록 할 수는 있지만 대기 모드 요구사항에 따라 사용해야 합니다.
앱 개발자는 기기가 에너지 절약 모드로 전환되는 것을 방지할 수 없습니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-27(UTC)
[null,null,["최종 업데이트: 2025-07-27(UTC)"],[],[],null,["# Ambient Mode is a screensaver built into Google TV and Android TV. Its purpose\nis to avoid displaying static images for extended periods. This is important\nfor display technologies, such as OLED, which may be susceptible to screen burn.\n\nThe OS will put the device into Ambient Mode after 10 minutes of user\ninactivity. After a further period of user inactivity (defined by the device\nEnergy Saver setting) the OS will enter Energy Saver mode,\npowering the display off. Media playback apps may prevent the device\nfrom entering Ambient Mode, despite the user not interacting with it, for\nexample, while watching a movie.\n\nIf the user interacts with the device within 30 minutes of entering Ambient\nMode, the app that was active when Ambient Mode was entered will be restored.\nIf the user interacts with the device more than 30 minutes after entering\nAmbient Mode, they will be returned to the Home screen.\nWhen the user starts the device using the power button while it's in Energy\nSaver mode, they will be taken to the Home screen. Alternatively, if the user\nstarts the device while it's in Energy Saver mode using specific app buttons\n(for example, YouTube) they will be taken directly to that app.\n| **Note:** It is important to ensure that your app meets [the Ambient Mode requirements](/docs/quality-guidelines/tv-app-quality#ambient-mode) when submitting it to Google Play.\n\nVideo playback\n--------------\n\nFor video playback, it's important to [prevent the device entering Ambient Mode\nduring user-initiated playback](/docs/quality-guidelines/tv-app-quality#TV-BU)\nto provide an uninterrupted viewing experience. However, apps should *not*\nprevent devices from entering Ambient Mode when playback is stopped or paused.\n\nAudio playback\n--------------\n\nFor audio playback, apps\n[should not prevent Ambient Mode during playback](/docs/quality-guidelines/tv-app-quality#TV-BA)\nunless they implement their own screensaver with non-static imagery.\nAudio playback will continue while Ambient Mode is active.\n\nAudio playback on Android will implicitly hold a\n[partial wake lock](/reference/android/os/PowerManager#PARTIAL_WAKE_LOCK).\nThis will *not* prevent the device from entering Ambient Mode, but *will*\nprevent the subsequent transition to Energy Saver mode. Playback will therefore\ncontinue even after the device enters Ambient Mode, but the device will be\nprevented from going to sleep to allow uninterrupted playback.\n\nPreventing Ambient Mode\n-----------------------\n\nIt is possible to prevent the OS from putting the device into Ambient Mode, but\nthis must be used in accordance with\n[Ambient Mode requirements](/docs/quality-guidelines/tv-app-quality#ambient-mode).\nApp developers cannot prevent the device from entering\nEnergy Saver mode.\n\nApps can prevent the screen from turning off by setting a flag on the\n[`Window`](/reference/android/view/Window): \n\n### Kotlin\n\n```kotlin\nrequireActivity().window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)\n```\n\n### Java\n\n```java\nrequireActivity().getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);\n```\n\nAmbient Mode will be disabled while this flag is set. To re-enable it you must\nclear the flag: \n\n### Kotlin\n\n```kotlin\nrequireActivity().window.clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)\n```\n\n### Java\n\n```java\nrequireActivity().getWindow().clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);\n```\n| **Note:** You must only prevent the device from entering Ambient Mode for user-initiated playback sessions. If your app is [automatically playing video or animations](/docs/quality-guidelines/tv-app-quality#TV-BY), you must *not* set the [`FLAG_KEEP_SCREEN_ON`](/reference/android/view/WindowManager.LayoutParams#FLAG_KEEP_SCREEN_ON) flag."]]