mirror of
https://github.com/amnezia-vpn/amneziawg-android.git
synced 2026-10-14 05:41:48 +00:00
[GH-ISSUE #47] Watchdog to Auto-Restart VPN if Killed by Android #26
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
amnezia-vpn/amneziawg-android#26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Oct 28, 2025).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-android/issues/47
Problem
On many Android devices, the system may stop the VPN service (or the entire app) due to battery or memory management, even with optimizations disabled. When this happens, the AmneziaWG tunnel is dropped and not automatically restored until the user manually reopens the app.
Proposed Solution
Add a lightweight watchdog or background component (a WorkManager job) that:
Other VPNs use a similar approach to ensure continuous operation.