[ux] Warn for connected Bluetooth devices when entering plane mode
Currently, plane mode works in a very "traditional" way. Its shortcut or switch disables all kinds of radio, that is Bluetooth, Wi-Fi and cellular. However, with Bluetooth devices getting more popular (headphones, mice, etc.) some implementations of Plane Mode (see Android 10+) leave it enabled if already connected with wireless devices.
While this may be misleading, since the user expects radio to be turned off upon switching, it could be useful to warn or prompt users in case of connected Bluetooth devices, to avoid side effects (e.g. having PulseAudio blast audio through speakers instead of headphones in public spaces, or having to re-enable it manually and reconnect every single device), especially since some people use Plane Mode as a sort of distraction-free experience, or to save battery, rather than literally on planes.
A simple (although improvable) implementation could be a dialog:
Disable Bluetooth?
Enabling Plane Mode will disconnect you from
- Google Pixel 3A
- Sony WH-1000XM3
[ Leave On ] [ Disable ]