Home » Technical Resources » Using Haptic Drivers as Battery Level Monitors

# Using Haptic Drivers as Battery Level Monitors

Reducing power consumption is one of the most important aspects of designing a device that is powered by batteries. This means there is a great incentive to keep the component count to an absolute minimum, especially active components which draw small amounts of current even when in ‘sleep’ mode.

One of the most common ways to achieve this is to use chips that combine multiple functions, the term SoC or ‘System on Chip’ is often used. This works particularly well for infrequently used features or where there is little differentiation.

For example, a small internet-connected sensor (e.g. IoT devices) might not need an extremely accurate measurement of battery level. This would be particularly true if the device only issued a “low battery warning”, instead of constantly reporting a % level. Other example devices could include a touchscreen that was normally ‘off’, but woke on touch, or almost all wearable devices. In fact, there are many devices that don’t have a screen and solely rely on haptics for communicating to the user – these cannot reasonably report the ongoing battery level.

Some designs would typically incorporate a specialised chip as a battery level monitor, often accessed with I2C communication. However, it may be that other chips in the system actually already monitor the battery level. These would not be as accurate as a dedicated chip, however, as discussed above the accuracy provided by a battery level monitor might be superfluous and over-designed.

Relating this to haptic applications and our vibration motors, the DRV2605 is one such driver that monitors the battery level. Register VBAT (0x21) provides a 1-byte value that can be used to calculate VDD, which directly relates to the battery’s remaining capacity. The calculation is as follows:

$$V_{DD} = VBAT[7:0] \times \frac{5.6V}{255}$$

One caveat is that the DRV2605 must be playing a waveform to take a real-time reading, so reading the battery level would be best built into the haptic effect procedure.

For many wearables, haptic feedback is considered an important feature – one where a product that invests in a quality actuator and driver can be differentiated from low-cost designs. As a result, many already use haptic drivers – so by using this method a battery level monitor can be removed. Alternatively, if the existing design has omitted a battery level monitor (for whatever reason), a small update to the effect playing code can add this functionality in with no change to the hardware. It may not seem like much, but this type of approach to energy conservation can pay dividends when applied system-wide.

### Get in touch

Speak to a member of our team.

### Motor catalogue

Looking for our products?

Reliable, cost-effective miniature mechanisms and motors that meet your application demands.

## Discover more

### Resources and guides

Discover our product application notes, design guides, news and case studies.

### Case studies

Explore our collection of case studies, examples of our products in a range of applications.

### Precision Microdrives

Whether you need a motor component, or a fully validated and tested complex mechanism – we’re here to help. Find out more about our company.