~/talk

How to keep your app awake in a GSM phone app

Talkat droidcon Berlin 2024 · 2024-07-03..07-05· [android]
links:none on file
slides:none on file

Custom GSMR “railcom” app replaces the default dialer and implements InCallService and CallScreeningService plus a foreground service and device admin to stay in memory, uses a partial wake lock combined with REQUEST_IGNORE_BATTERY_OPTIMIZATIONS to stay awake, integrates with an RSM hardware button and tilt/vigilance checks, and handles emergency workflows and call merging. Measured over a 9‑hour test, a permanent wake lock adds only ~2–3% extra battery drain (9h call left battery ~71% vs ~68% with wake).

AI-written summary · about

  1. 0:00Introduction
  2. 3:33Safety-critical GSM use case
  3. 9:09App architecture
  4. 13:03Telephony workflows
  5. 21:01Keeping app awake
  6. 28:26Battery optimization
  7. 32:44Battery impact measurements
  8. 35:16Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.