# xingda920813/HelloDaemon

Android 服务保活/常驻 (Android service daemon using JobScheduler)

Repository: https://github.com/xingda920813/HelloDaemon
Canonical: https://ross.abutalabs.com/products/hellodaemon
Language: Java
License: MIT
License Family: permissive
Topics: android, alarmmanager, job-scheduler, android-service-daemon, whitelist
Last push: 2019-03-30T06:13:19+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3671, "days_push": 2713, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2297, forks 445 (observed 2026-08-28T04:06:35.221909+00:00)

## What it is
An Android library and demo project that keeps a background service alive using techniques like silent foreground services, START_STICKY, broadcast receivers, and JobScheduler/AlarmManager watchdogs. It also includes intents to guide users into whitelisting the app on Chinese OEM power-management systems like EMUI and MIUI.

## Use cases
- keep an android background service running persistently
- restart a killed service automatically on android
- survive force stop and task removal for a core service
- adapt service keep-alive for huawei xiaomi and other chinese roms
- schedule a watchdog to revive a dead service with jobscheduler
- guide users to disable battery optimization for the app

## When to choose
- you need a persistent service for a core feature like step counting or music playback
- you target older android versions where keep-alive tricks still work
- you want a reference implementation of many non-native keep-alive strategies in one place

## When to avoid
- you target android 8+ where background execution limits make these tricks unreliable
- play store policy compliance matters, since service keep-alive can violate policies
- you need a maintained library with recent updates

## Facets
- artifact type: library
- maturity: abandoned
- function: sdk, concurrency, scheduling
- domain: android-tools, mobile-development, developer-tools
- platform: -
- tags: service-keep-alive, daemon, jobscheduler, alarmmanager, foreground-service, chinese-oem-adaptation, java, android

## Member repositories
- xingda920813/HelloDaemon (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:35.221909+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:40:18.903858+00:00, confidence not recorded.
  - readme: https://github.com/xingda920813/HelloDaemon (fetched 2026-08-28T04:06:35.221909+00:00, sha 52131d700ff0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
