How to obtain real VPN connection status (it claims to be connected in airplane mode / without internet)?
My Google Pixel 5 claims to have a VPN connection, although I enabled the airplane mode. How can I ever be sure that the VPN connection is really working then if I have an internet connection?
I would expect "not connected" and not "this device is connected with ...":
The VPN status only reflects whether any app has created a TUN device via https://developer.android.com/reference/android/net/VpnService.Builder.html (i.e. all or selected traffic is routed to that app), not whether the VPN connection established by that app is actually working/connected.