Device Battery #load #charge Plugin

Demo to preview the settings

Introduction

Monitor and display your device's battery status directly within your Bubble app. Real-time battery level and charging state detection. Device Battery #load #charge Plugin allows seamless integration of battery information, enriching user experience by keeping them informed about their device's power status.
Utilize the Device Battery element to showcase battery details effortlessly. The plugin actions and states return critical information such as the current battery level and whether the device is charging. On battery status change, the plugin can trigger workflows, enabling dynamic responses within your application.
The plugin also provides states that detail the battery's charging status and level, ensuring users are always aware of their device's energy state. Implement workflows based on battery condition, enhancing app functionality and user engagement by responding to power-related events.

How to setup

  1. Install plugin Device Battery #load #charge
Image without caption
  1. Place the Device Battery element on the page
Image without caption

Plugin Element Properties

Image without caption
Title
Description
Type
Trigger the events on load
Disables to ignore the first batch of events.
Yes/No, Required

Exposed states

Title
Description
Type
is charging
Indicates wether the device is charging or not
Yes/No
level (%)
Indicates the battery level of a device
Number
time before fully charged (s)
Indicates the time till battery is fully charged
Number
time before empty (s)
Indicates the time till battery will be completely dead
Number
is available
Indicates wether the device battery is accessible or not
Yes/No

Element events

Title
Description
A Device Battery Has stopped charging
Triggers when a device has stopped charging
A Device Battery Has resumed charging
Triggers when a device has resumed charging
A Device Battery Battery level has changed
Triggers when a device battery level has changed
A Device Battery Time before fully charged has changed
Triggers when a device battery time before fully charged has changed
A Device Battery Time before empty has changed
Triggers when a device battery time before completely dead has changed
A Device Battery is not available on this device
Triggers a device battery is not available on this device
A Device Battery is available on this device
Triggers a device battery is available on this device

Changelogs

Update 07.03.24 - Version 1.1.0

  • Acquired by Zeroqode

Update 08.12.23- Version 1.0.5

  • Update

Update 10.08.23 - Version 1.0.4

  • Small update

Update 03.08.23 - Version 1.0.3

  • Small update

Update 03.08.24 - Version 1.0.2

  • Transfer to Flusk

Update 20.08.22 - Version 1.0.1

  • Update

Update 14.07.22 - Version 1.0.0

  • Publish