seb-win-refactoring icon indicating copy to clipboard operation
seb-win-refactoring copied to clipboard

Feature: Battery Status API

Open pascal-kuschkowitz opened this issue 10 months ago • 1 comments

Is your feature request related to a problem? Please describe. In exam conditions with many students and where the laptops cannot be loaded throughout the exam, the person monitoring has no overview of battery life. It would be a huge improvement to know battery percentage and estimated remaining battery life, so that problematic devices can be swapped in time.

Describe the solution you'd like I would like the battery status API implemented. (It was implemented in firefox years ago, but capped for privacy reasons w/ tracking. Since this is an exam browser, those reasons do not seem relevant imo.) Then, one could push the battery percentage and other attributes to the person monitoring with navigator.getBattery().

pascal-kuschkowitz avatar Apr 16 '24 09:04 pascal-kuschkowitz

Thanks for the feature request. With SEB Server, you'd already have that functionality readily available (including indicators in the monitoring overview). For other exam systems, we'd indeed need to implement the API ourselves and most likely expose it via the SEB JavaScript API.

dbuechel avatar Apr 16 '24 14:04 dbuechel