2025년 3월 27일부터 AOSP를 빌드하고 기여하려면 aosp-main
대신 android-latest-release
를 사용하는 것이 좋습니다. 자세한 내용은 AOSP 변경사항을 참고하세요.
전원 관리
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
배터리 수명은 사용자의 지속적인 관심사입니다. Android는 배터리 수명을 연장하고 플랫폼이 충전기 분리 시의 앱 및 기기 동작을 최적화할 수 있도록 계속해서 새로운 기능을 추가하고 있습니다.
Android에는 다음과 같은 배터리 수명 개선 기능이 포함되어 있습니다.
-
앱 제한.
플랫폼에서 배터리 수명에 부정적인 영향을 미치는 앱을 표시하여 사용자가 이러한 앱의 리소스 소모를 제한할 수 있도록 합니다. 앱은 기본적으로 백그라운드 제한이 적용되지 않습니다.
- 앱 대기. 플랫폼이 미사용 앱을 앱 대기 모드로 전환하여 일시적으로 네트워크 액세스를 제한하고 이러한 앱의 동기화 및 작업을 지연할 수 있습니다.
-
잠자기. 사용자가 장시간 동안 기기를 사용하지 않으면(화면 꺼짐 및 움직임 없음) 플랫폼이 완전 절전 모드(주기적으로 일반 작업을 재개)로 전환될 수 있습니다. Android 7.0 이상에서는 잠자기를 사용 설정하여 사용자가 기기 화면을 끄고 계속해서 움직일 때 가벼운 최적화 집합을 트리거할 수 있습니다.
- USB 백업 및 복원 시 전력 전달을 제한합니다. USB 백업 또는 복원을 실행할 때
UsbPort
클래스의 enableLimitPowerTransfer
메서드를 true
로 설정하여 충전을 사용 중지하고 소싱 전력을 제한합니다. 전력이 제한되어 있는지 확인하려면 UsbPortStatus
클래스의 isPowerTransferLimited
메서드를 호출합니다. isPowerTransferLimited
가 true
이면 Android 기기는 싱크로 사용되는 전력 사용량을 0(또는 하드웨어에서 허용하는 가장 낮은 값)으로 줄이고 소스 전류를 0으로 제한합니다. 소스 전력 제한은 두 개의 포트 파트너가 모두 USB 전력 전달(PD) 사양을 지원할 때만 적용할 수 있습니다. 전력 사용량을 기본 상태로 되돌리려면 enableLimitPowerTransfer
를 false
로 설정합니다. USB 케이블이 연결 해제되면 기본 상태도 반환됩니다.
-
제외. 미리 로드된 시스템 앱과 클라우드 메시징 서비스는 기본적으로 앱 대기 및 잠자기에서 제외되는 경우가 일반적입니다. 앱 개발자는 인텐트를 사용하여 이러한 설정을 앱에 적용할 수 있습니다. 사용자는 설정 메뉴에서 앱을 앱 대기 및 잠자기 절전 모드에서 제외할 수 있습니다.
-
트래커. 앱 백그라운드 동작 트래커는 앱의 포그라운드 및 백그라운드 배터리 사용량을 모니터링하여 앱이 정책을 위반했는지 확인합니다.
앱 제외
앱을 잠자기 또는 앱 대기 대상에서 제외할 수 있습니다.
제외는 다음과 같은 경우에 필요할 수 있습니다.
- Firebase 클라우드 메시징(FCM) 외의 클라우드 메시징 플랫폼을 사용 중인 기기 제조업체
- FCM 외 다른 클라우드 메시징 플랫폼을 사용 중인 이동통신사
- FCM 외 다른 클라우드 메시징 플랫폼을 사용 중인 서드 파티 앱
경고: 테스트 및 최적화를 피하기 위해 앱을 제외하면 안 됩니다. 불필요한 제외는 잠자기 및 앱 대기의 이점을 약화하고 사용자 경험의 저하로 이어질 수 있습니다. 따라서 이러한 제외는 플랫폼이 전력 소모량에 관해 가진 제어적 이점을 앱이 넘어설 수 있도록 하므로 이러한 제외를 최소화하는 것이 좋습니다. 사용자가 이러한 앱의 전력 소모량에 불만을 가질 경우 답답함, 경험 저하(앱과 관련된 부정적인 리뷰)와 고객지원 질문의 폭주로 이어질 수 있습니다. 이러한 이유로, 서드 파티 앱을 제외하지 말고 대신 클라우드 메시징 서비스나 유사한 기능을 가진 앱만 제외하는 것이 좋습니다.
기본으로 제외된 앱은 설정 > 앱 및 알림 > 특수 앱 액세스 > 배터리 최적화에 나열됩니다. 이 목록은 앱을 잠자기 및 앱 대기 모드에서 모두 제외하는 데 사용됩니다. 사용자에게 투명성을 제공할 수 있도록 설정 메뉴에는 제외된 모든 앱을 표시해야 합니다.
사용자는 설정 > 앱 및 알림 > APP-NAME > 배터리 > 배터리 최적화로 이동한 다음 최적화를 사용 중지(또는 다시 사용 설정)할 앱을 선택하여 앱을 직접 제외할 수 있습니다. 하지만 사용자는 시스템 이미지에서 기본적으로 제외되는 앱이나 서비스의 예외 상태를 변경할 수 없습니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-27(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-27(UTC)"],[],[],null,["# Power management\n\nBattery life is a perennial user concern. To extend battery life, Android\ncontinually adds new features to help the platform optimize the off-charger\nbehavior of apps and devices.\n\nAndroid includes the following battery life enhancements:\n\n- [App restrictions](/docs/core/power/app_mgmt#app-restrictions). The platform can suggest apps that negatively affect battery life, so that users can choose to restrict those apps from consuming resources. Apps aren't background restricted by default.\n- [App standby](/docs/core/power/app_mgmt#app-standby). The platform can place unused apps in App standby mode, temporarily restricting network access and deferring syncs and jobs for those apps.\n- [Doze](/docs/core/power/platform_mgmt#doze). The platform can enter a state of deep sleep (periodically resuming normal operations) if users haven't actively used their device (screen off and stationary) for extended periods of time. Android 7.0 and higher also enables Doze to trigger a lighter set of optimizations when users turn off the device screen yet continue to move around.\n- Limiting power transfer during USB backup and restore. When performing a USB backup or restore, set the `UsbPort` class's `enableLimitPowerTransfer` method to `true` to disable charging and limit the sourcing power. To verify that power is limited, call `UsbPortStatus` class's `isPowerTransferLimited` method. When `isPowerTransferLimited` is `true`, the Android device reduces the power draw as a sink to 0 (or the lowest possible value allowed by hardware) and limits the source current to 0. Limiting source power can be enforced only when both port partners support USB power delivery (PD) specification. To return power usage to the defatult state, set `enableLimitPowerTransfer` to `false`. The default state is also returned when the USB cable is disconnected.\n- [Exemptions](#exempt-apps). Preloaded system apps and cloud messaging services are typically exempted from App standby and Doze by default. App developers can use intents to apply these settings to their apps. Users can exempt apps from App standby and Doze power-saving modes in the Settings menu.\n- [Trackers](/docs/core/power/trackers). App background behavior trackers monitor apps' foreground and background battery usage to determine if the apps violate some policy.\n\nExempt apps\n-----------\n\nYou can exempt apps from being subject to Doze or App standby.\nExemptions may be needed in the following use cases:\n\n- Device manufacturers using a cloud messaging platform other than [Firebase\n cloud messaging (FCM)](https://firebase.google.com/docs/cloud-messaging/)\n- Carrier using non-FCM cloud messaging platform\n- Third-party app using non-FCM cloud messaging platform\n\n**Warning:** Don't exempt apps to avoid testing\nand optimizing. Unnecessary exemptions undermine the benefits of Doze and App\nstandby and can compromise the user experience, so we strongly suggest\nminimizing such exemptions as they allow apps to defeat beneficial\ncontrols the platform has over power use. If users become unhappy about the\npower consumption of these apps, it can lead to frustration, bad experiences\n(and negative reviews for the app), and customer support questions. For these\nreasons, we strongly recommend that you don't exempt third-party apps\nand instead exempt only cloud messaging services or apps with similar\nfunctions.\n\nApps exempted by default are listed in **Settings \\\u003e App \\&\nNotifications \\\u003e Special app access \\\u003e Battery Optimization** . This list is\nused for exempting the app from both Doze and App standby modes. To provide\ntransparency to the user, the Settings menu **MUST** show all\nexempted apps.\n\nUsers can manually exempt apps using **Settings \\\u003e App \\& Notifications \\\u003e\n\u003cvar translate=\"no\"\u003eAPP-NAME\u003c/var\u003e \\\u003e Battery \\\u003e Battery Optimization** and then selecting the\napp to turn off (or back on) optimization. However, users can't change the except status of any\napp or service that is exempted by default in the system image."]]