概述
设备连接与环境上下文 — BLE、网络状态、电量与定位 — 均通过 singleton .instance API 使用。
- Bluetooth — BLE 扫描/连接;Web 上需要用户手势
- Network — 通过 @capacitor/network 监控在线/离线
- Battery — Web Battery API 封装
- Geolocation — 移动端 @capacitor/geolocation;Web 端 navigator.geolocation
- Background location — 保留占位;暂不可依赖