From 779b84bfa02b3e11f295263971a693bef19c3f9e Mon Sep 17 00:00:00 2001 From: Christof Arnosti Date: Sat, 14 Mar 2020 17:31:51 +0100 Subject: usb-serial-for-android: Use wakelock Android takes some pretty hard measures to save power, including shutting down the CPU. Since this can interfer with the download from an usb serial device, we now use a wakelock to keep the CPU running during download. Signed-off-by: Christof Arnosti Signed-off-by: Dirk Hohndel --- android-mobile/AndroidManifest.xml | 1 + .../src/org/subsurfacedivelog/mobile/AndroidSerial.java | 9 +++++++++ 2 files changed, 10 insertions(+) (limited to 'android-mobile') diff --git a/android-mobile/AndroidManifest.xml b/android-mobile/AndroidManifest.xml index bab23a250..578624baf 100644 --- a/android-mobile/AndroidManifest.xml +++ b/android-mobile/AndroidManifest.xml @@ -92,6 +92,7 @@ android:normalScreens="true" android:smallScreens="true" /> +