Skip to content

Commit bf89e52

Browse files
committed
Made startup activity power management check failure a log warning rather than error
1 parent 7f52bfa commit bf89e52

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
OpenSeizureDetector Android App - Change Log
22
============================================
3+
V5.0.8 - Fixed crash of advanced mode user interface (Issue #251)
34
V5.0.7 - Fixed potential crash after changing settings (Issue #244).
45
- Fixed issue where using the mute function on watch does not prevent fault pip sounds (Issue #247)
56
V5.0.6 - Disable 'Raise Alarm' button when using Network Data Source to prevent accidental alarm activations.

app/src/main/java/uk/org/openseizuredetector/activity/startup/StartupActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ protected void onStart() {
376376
if (preventBatteryOptWarning) {
377377
Log.i(TAG, "onStart(): PreventBatteryOptWarning is true, so not displaying battery optimisation dialog");
378378
} else {
379-
Log.e(TAG, "onStart(): Power Management Problem - not ignoring Battery Optimisations");
379+
Log.w(TAG, "onStart(): Power Management Problem - not ignoring Battery Optimisations");
380380
//mUtil.showToast("WARNING - Phone is Optimising OpenSeizureDetector Battery Usage - this is likely to prevent it working correctly when running on battery!");
381381
if (!mBatteryOptDialogDisplayed) showBatteryOptimisationWarningDialog();
382382
}

0 commit comments

Comments
 (0)