- From: Anssi Kostiainen via GitHub <sysbot+gh@w3.org>
- Date: Wed, 29 May 2024 13:02:12 +0000
- To: public-device-apis-log@w3.org
Here are a few real-world examples from open-source projects that use the Battery Status API, grouped into categories: - App frameworks: major [Vue](https://v9-8-1.vueuse.org/core/usebattery/), [React Native](https://github.com/react-native-device-info/react-native-device-info) and [Expo](https://docs.expo.dev/versions/latest/sdk/battery/), purpose-built [Shiny](https://shinylib.net/), [ftools](https://github.com/tbor00/ftools), [SolidJS](https://www.solidjs.com/), [Ember.js plugin](https://github.com/mfmalho/ember-battery), [Vercel component](https://icons-and-icons.vercel.app/), [another Vercel component](https://battery-jade.vercel.app/), [React Template](https://battery-indicator-react.vercel.app/), [AppPresser](https://apppresser.com/custom-apps/), [Open Bank Project Sofit Container](https://github.com/OpenBankProject/SofitContainer) - Productivity/utils: [Nylas Mail](https://github.com/nylas/nylas-mail), [Battery Tracker](https://silent-watcher.github.io/battery-tracker/) historical data viz, notifications at critical thresholds considering estimated time remaining, [Edge ML](https://edge-ml.org/) browser-based toolchain for machine learning on microcontrollers, [Battery Monitor](https://ttj.hu/index.html#battery-monitor) remind via notifications if battery below/above user-defined thresholds - Emulators: [Win11](https://wintest.andrewstech.me/), [Ubuntu](https://malisipi.github.io/ubuntu-tour/), [Web3OS](https://web3os.sh/), [Portfolio OS](https://raghavdhinrga.web.app/), [RetroArch SNES/GB/Sega](https://retroarch.nenge.net/) - Note: [Fullscreen API spoofing attack](https://fullscreen.spec.whatwg.org/#security-and-privacy-considerations) could be made more convincing when combined with the Battery Status API. - Browser extensions: [Auto Tab Discard](https://webextension.org/listing/tab-discard.html) discarding is skipped if power is plugged-in, [Minimo](https://projects.krismuniz.com/minimo/), [Simple New Tab Page](https://github.com/greggman/simple-new-tab-page), [Chrome Newtab](https://github.com/kaissaroj/chrome-newtab) for battery information at a glance, [ChromeOS Battery](https://github.com/supechicken/ChromeOS-Battery) trigger custom notifications, fullscreen warning at custom battery levels, [System Monitor](https://chromewebstore.google.com/detail/system-monitor/ecmlflnkenbdjfocclindonmigndecla) - Education: [HAX](https://oer.hax.psu.edu/bto108/sites/haxcellence/) - Smart home: [Homebridge Browsercam](https://github.com/louis49/homebridge-browsercam), [Home Assistant browser control](https://github.com/AlanGreene/hass-browser_mod) to create home automations based on the battery status - Messaging: [Franz](https://github.com/maniacs-oss/franz) run computationally intensive tasks only when the system is plugged in - Identity management: [IDM Wallet UI](https://github.com/ipfs-shipyard/nomios-web) adapt desktop/laptop experience based on charging status - Cloud gaming: [Better xCloud](https://better-xcloud.github.io/) I believe there are many projects built on top popular Vue/React Native/Expo app frameworks that make use of this API. These are however not as easily discoverable as the frameworks themselves. -- GitHub Notification of comment by anssiko Please view or discuss this issue at https://github.com/w3c/battery/issues/25#issuecomment-2137363100 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 29 May 2024 13:02:13 UTC