B bonap Member May 2, 2024 #1 Hallo, ist es möglich, und wenn ja wie, zur Laufzeit einer App mit Dieser den Energiesparmodus an- bzw. abzuschalten? Danke
Hallo, ist es möglich, und wenn ja wie, zur Laufzeit einer App mit Dieser den Energiesparmodus an- bzw. abzuschalten? Danke
B bonap Member May 6, 2024 #2 Ist die Lösung so offensichtlich und ich bin nur zu blind,diese zusehen? Oder geht es nicht? Danke
JOTHA Well-Known Member Licensed User Longtime User May 6, 2024 #3 Also mal auf die "schnelle" fällt mit dazu 1) Intent 2) PowerSave Modus unter https://developer.android.com/reference/android/os/PowerManager.html#isPowerSaveMode() Returns true if the device is currently in power save mode. When in this mode, applications should reduce their functionality in order to conserve battery as much as possible. You can monitor for changes to this state with ACTION_POWER_SAVE_MODE_CHANGED. Click to expand... ein. Vieleicht hilft das im ersten Moment?
Also mal auf die "schnelle" fällt mit dazu 1) Intent 2) PowerSave Modus unter https://developer.android.com/reference/android/os/PowerManager.html#isPowerSaveMode() Returns true if the device is currently in power save mode. When in this mode, applications should reduce their functionality in order to conserve battery as much as possible. You can monitor for changes to this state with ACTION_POWER_SAVE_MODE_CHANGED. Click to expand... ein. Vieleicht hilft das im ersten Moment?