forked from Blendman974/faceclaw
Wake the screen on wear faster after charging
This commit is contained in:
1 parent
2052e268b0
commit
deaa93fead
5 files changed
+71
-9
No files matched your search
@@ -47,7 +47,7 @@ fun StatusScreen(link: PhoneLink, haptics: Haptics, onOpenSettings: () -> Unit)
|
||||
val phaseLabel = when {
|
||||
state == null -> "No status yet"
|
||||
state?.charging == true || state?.phase == "charging" ->
|
||||
state?.battery?.let { "Charging · G2 $it%" } ?: "Charging"
|
||||
state?.battery?.let { "Charging" } ?: "Charging"
|
||||
connected -> "Connected"
|
||||
state?.phase == "connecting" -> "Connecting…"
|
||||
state?.phase == "disconnecting" -> "Disconnecting…"
|
||||
|
||||
Reference in new issue
Block a user