Is it possible to check if bluetooth is enabled with javascript and is there any event to detect its change? There is getAvailability() method in Web Bluetooth API: getAvailability() returns a promise that resolves with true if the user agent is running on a system that has a Bluetooth radio and false otherwise. The powered state of the Bluetooth radio