Skip to main content

CB302B battery monitoring and IMU setup: Hardware Extras.
Bring your CB302B online.

Enable battery monitoring and motion sensors on your CB302B running stock JetPack. The curve-extras package connects the BQ40Z50 battery gauge and the BMI270 / BMM150 9-axis IMU to your Linux system.

v0.2.0 · JetPack 6.2.2 · L4T 36.5

Back to documentation

01 - What it enables

Battery and sensor integration.

  • Battery icon with real state of charge in the GNOME taskbar
  • IMU and magnetometer exposed through the Linux IIO subsystem
  • No device tree or bootloader changes - OTA-safe
  • Survives reboots, with updated packages released for supported kernel changes
  • Includes curve-diag for hardware verification

02 - Install

One command on your Jetson.

Run this command in a terminal on the target system.

curl -sL https://curvereality.com/setup | sudo bash

Or download the package: curve-extras-0.2.0-aarch64.tar.gz

What gets installed

/usr/lib/curve-extras/
Kernel modules and firmware
/usr/bin/curve-diag
Hardware diagnostic tool
/etc/systemd/system/curve-extras.service
System service

03 - Verify

Check the hardware.

curve-diag

Reports IMU sensor readings and battery status. All sensors should show as active.

04 - Uninstall

Return to stock JetPack.

sudo /usr/lib/curve-extras/install.sh --uninstall

Removes the installed files and disables the systemd service. Reboot to return to stock JetPack.

Boot stack stays intact

curve-extras does not modify the boot stack, device tree (DTB), or extlinux.conf. The installation is reversible.

05 - Release notes

Changelog

v0.2.0

  • Fixed the UPower deadlock that caused a two-minute boot hang
  • Added driver rebind for the battery race condition
  • Updated modules for kernel 5.15.185-tegra (JetPack 6.2.2)
  • Improved the idempotent setup script with verification

v0.1.0

Initial release - IMU and battery monitoring on CB302B.

Engineering support

Need a hand with setup?

Curve Reality - Rev 2026.04

Designed in New Zealand