AdguardTeam / AdguardTeam/AdguardForAndroid

Recommend “Always-on VPN” (without blocking) to improve reliability

未关闭
#5,996 1 条评论 14 个 reaction 已指派 0 人 在 GitHub 查看
Feature request Priority: P4 TechAudit Voting
主要语言
没有语言数据
星标
1.9k
派生
121
PR 合并指标
30 天内没有已合并 PR

描述

### Issue Details

On some devices (e.g. Surface Duo, Samsung, foldables), AdGuard’s local VPN is significantly more reliable when “Always-on VPN” is enabled.

It helps prevent the VPN service being stopped by battery optimisation and improves reliable restart after system power-on or reboot.

This is not about “Block connections without VPN” (which should not be enabled). This request is Always-on VPN only.

Why
- Some OEMs aggressively stop background VPN services
- Battery optimisation and boot timing can interrupt AdGuard
- Always-on VPN tells Android to automatically restart the VPN
- It does not change routing, DNS, encryption, or block traffic

Summary
- Safe when not combined with blocking
- Mitigates battery optimisation kills
- Improves post-reboot startup reliability
- Improves real-world stability

### Proposed solution

Mirror existing battery optimisation guidance:
- Conditional recommendation only
- OEM allow/deny list
- One-time, dismissible message
- Deep link to VPN settings

Example:
“Improve AdGuard reliability
Enabling Always-on VPN may improve stability on your device.
(Do not enable ‘Block connections without VPN’.)”

### Alternative solution

_No response_

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。