I had the same issue with early audio crackling and early shutdown with hackergadgets battery board but the old one, make sure the battery holder springs have the same tension and also test voltage of the batteries, mine were different from the bad spring.
with all the rails turned off, roughly how long the 21700 batteries will last just idling power on?
roughly twice as 18650 on the same load
check this post: New Hacker Gadgets Dual 21700 Battery Holder
my unit batteries kinda runs flat around 3-4 hrs with nothing done but on idling, seems very abnormal to me, the screen and keyboard stopped working while the chip and wifi still running, the last thing I saw was the battery at 0% around 3.6hrs mark.
battery 0% shouldn’t it be that the unit will shutdown totally instead of display and keyboard reset from the logs I read
It depends on several things: the power-saving settings you’ve chosen, whether you’ve overclocked or underclocked it, and so on. I’ve done a lot of experimenting with settings focused on saving power and reducing heat. I’ll share my configuration below; maybe it’ll help you.
[pi5]
dtoverlay=spi0-0cs
dtoverlay=i2c-rtc,pcf85063a,i2c_csi_dsi0
dtparam=rtc=off
# =========================
# uConsole CM5 - Stable Performance Profile
# =========================
# Quirks
SD_QUIRKS=1
# 64-bit
arm_64bit=1
# Modern KMS
dtoverlay=vc4-kms-v3d
# Improved HDMI/HMI stability
disable_fw_kms_setup=1
# Balanced GPU configuration
gpu_mem=256
# Avoid glitches in SDR/video
max_framebuffers=2
# Keep clock speeds more predictable
arm_boost=0
# PCIe stability
dtparam=pciex1
# uConsole CM5 - Conservative battery/SDR profile
# Maximum battery life
#arm_freq=1000
#arm_freq_min=500
#gpu_freq=800
#gpu_freq_min=500
#over_voltage=-1
# Medium performance
arm_freq=1200
arm_freq_min=600
gpu_freq=600
gpu_freq_min=300
over_voltage=-1
# Improved USB stability
otg_mode=1
# Avoid some Wi-Fi power-saving issues
#dtoverlay=disable-bt
# SDR stability
force_turbo=0
# Less aggressive throttling
temp_soft_limit=65
# Reduce idle power consumption
power_force_3v3_pwm=1
# More stable boot
boot_delay=1
###############################
#dtoverlay=clockworkpi-devterm-cm5
dtoverlay=clockworkpi-uconsole-cm5
dtoverlay=vc4-kms-v3d-pi5,cma-384
dtparam=pciex1
dtparam=pciex1_gen=3
# RTC
# Disable the CM5 internal RTC
# i2c_csi_dsi0 remaps i2c0 to GPIO38/39 on the CM5
[all]
dtparam=i2c_arm=on
dtoverlay=spi1-1cs
BOOT_UART=1
#=====================================================
# Backup Thermal Fan Control - Blower 2006 5V (v3)
# Usable fan range: 160 (~1400 rpm) to 255 (~7200 rpm)
#=====================================================
dtoverlay=gpio-fan,gpiopin=218,temp=36000,temp_hyst=2000
# 38°C – ~1700 rpm
dtparam=fan_temp0=38000
dtparam=fan_temp0_hyst=2000
dtparam=fan_temp0_speed=165
# 40°C – ~2500 rpm
dtparam=fan_temp1=40000
dtparam=fan_temp1_hyst=2000
dtparam=fan_temp1_speed=185
# 42°C – ~4500 rpm
dtparam=fan_temp2=42000
dtparam=fan_temp2_hyst=2000
dtparam=fan_temp2_speed=215
# 45°C – Full speed
dtparam=fan_temp3=45000
dtparam=fan_temp3_hyst=3000
dtparam=fan_temp3_speed=255
# LoRa
# GPS
dtparam=uart0
# Switch off PMIC outputs on HALT
POWER_OFF_ON_HALT=1
# Default BOOT_ORDER for provisioning
# SD -> NVMe -> USB -> Network
BOOT_ORDER=0xf461
# Retry booting from the SD card
SD_BOOT_MAX_RETRIES=2
ignore_lcd=1
max_framebuffers=2
disable_overscan=1
dtparam=audio=on
dtoverlay=audremap,pins_12_13
dtoverlay=dwc2,dr_mode=host
dtparam=ant2
## Only edit the section for your Pi model; other sections will be ignored.
## If you have a DevTerm, uncomment the DevTerm entry and comment out the uConsole entries.
usb_max_current_enable=1
# Battery
# Molicel M35A 3500mAh
#dtoverlay=clockworkpi-custom-battery
#dtparam=charge_full_design_uah=7000000
#dtparam=energy_full_design_uwh=25900000
# Molicel P30B
#dtoverlay=clockworkpi-custom-battery
#dtparam=charge_full_design_uah=6000000
#dtparam=energy_full_design_uwh=22200000
# EVE INR21700-40PL
# 2 x 4000mAh = 8000mAh
dtoverlay=clockworkpi-custom-battery
dtparam=charge_full_design_uah=8000000
dtparam=energy_full_design_uwh=29200000
# BEGIN rpitx-ui related configuration
# END rpitx-ui related configuration
Always remember: this configuration is tailored to my use case, so make sure you understand each parameter and create the ideal configuration for YOUR use case.
Is that your config.txt? If so you have a bunch of stuff in there that does nothing at all.
Some parameters only work if they’re enabled in cmdline.txt; otherwise, they have no effect—and you’re right about that. But which ones do nothing? I’ve done so many tests that I need to review this file anyway. Could you give me some examples?
Ohhh… you’re right. Some things here only work on the CM4, and these settings belong in the bootloader EEPROM configuration:
SD_QUIRKS=1
BOOT_UART=1
POWER_OFF_ON_HALT=1
BOOT_ORDER=0xf461
SD_BOOT_MAX_RETRIES=2
I need to clean this up. I’ll take my time reviewing it—these settings carried over from the Pi 4 to the CM4, and now that I’m on the CM5, all this legacy stuff is still there. Time for some housekeeping!
Those are the ones that stood out to me.
thanks for the config, I observed that my uconsole 21700 batteries runs only 6 hrs just staying on and idling but the screen and keyboard just got restarted and didnt start up around 6hrs mark
the unit just thinks that the batteries was drained up but in reality the batteries still have 20-30% power left.
I know the uconsole has a default voltage cutoff of around 3.3v, I think? Which is much higher than the 2.5v cell minimum, I think to prevent the voltage sag from power spikes from damaging the batteries? Maybe it’s tripping that? Though there wouldn’t really be any spikes if it’s idle.
The short answer is… it depends. It depends on the hardware, how it’s put together, battery model, configs, how much current it draws… Every setup is different, and that’s the beauty of open hardware.
Now that I’ve installed everything I needed and made the modifications for my use case—amateur radio—I’ll get back to these software issues. For my particular use case, this upgrade has been excellent.
still it is weird, how can 21700mah x2 battery runs shorter than 18650mah x2?
my unit just usually shut off after 3hrs powered on and idling from the unit reading the batteries have 0% charge
when I took out the batteries and placed the 21700mah x2 onto an external charger, the charger shows that the batteries have plenty of charge.
usually 1 of the 2 batteries will have 3.8v and the other will have 4.2v remaining.
every time I reseated the battery pack, uconsole will read 100% but within minutes of not doing anything, the reading will becomes 95% and around 5 minutes or so it will show 70%.
my 21700mah x2 never gets charge to 100% in uconsole, its very randomly 38% - 82% range always.
it seems that my 21700mah board is seeing only 1 battery.
I have a WD 2230 nvme, and ac1200 plugged in, all rails turned off, wifi and bt also turned off
I just left the uconsole powered on and idling just like that and it will shutdown around 3.4v because the battery percentage read by uconsole is 0% while in reality the batteries still have a lot of juice left in it
Have you had a chance to check whether all the physical connections are working properly?
sorry I am quite new, so how to check the physical connections?
visually I see everything looks fine, slotting in the 21700mah batteries and they are not loose in the tray.
I screw down the battery tray after inserting it.
You could use a multimeter to check whether all the circuit tracks and connections are intact and whether there is voltage at the contacts. However, if you have no experience with it, that’s probably not an option.
Have you ever tried inserting just one battery at a time? Alternate between the two slots, putting just one battery in. Then you’ll be able to see if one of the slots might not be making contact at all.
Your case is really strange. I can offer a few thoughts, because this looks like a physical issue to me. The batteries should be balanced and have the same state of charge. Here’s what I would check:
-
As others have mentioned, checking every connector pin with a multimeter is important. You can remove the batteries, put the assembly back together, and check whether each pin makes proper contact. There could be a faulty contact pin, some play in the connector, or something similar. I would check all the contacts.
-
Hardware is one side of the issue; software is another.
upoweris an excellent way to check whether the batteries are detected and what readings the system is reporting. Runupower -dand post the output here so we can take a look. There could also be a software issue. -
The springs or another component could have a bad solder joint, so I would check the connections with a multimeter. A capacitor could also be involved, but you would need to test it to know. Something may have accidentally touched it and caused a short, and the capacitor could still hold a charge or even be damaged. I would remove the entire pack, check everything, and assemble it outside the uConsole. I would pay close attention to whether the two mating connectors—the multipin connector on the battery pack and the two on the uConsole—are properly aligned and fully engaged. I would secure the batteries and only install the pack in the uConsole once everything was firmly in place and aligned - Take it apart again and reinstall it in the uConsole: first the base, then the batteries, and finally the covers. Try not to overtighten the screws… Sometimes, cleaning the contacts with a toothbrush and a little isopropyl alcohol can work wonders.
My strongest suspicion is a poor connection at one of the pins, either on the battery pack or on the uConsole itself.
Anyway, these are just guesses and personal opinions. I assembled mine, and everything seems to be working well.
My Upower Output:
ruth@clockworkpi:~ $ sudo upower -d
Device: /org/freedesktop/UPower/devices/line_power_axp22x_ac
native-path: axp22x-ac
power supply: yes
updated: Tue 06 Oct 2026 05:31:24 AM -03 (0 seconds ago)
has history: no
has statistics: no
line-power
warning-level: none
online: yes
icon-name: 'ac-adapter-symbolic'
Device: /org/freedesktop/UPower/devices/battery_axp20x_battery
native-path: axp20x-battery
power supply: yes
updated: Tue 06 Oct 2026 05:31:24 AM -03 (0 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: charging
warning-level: none
energy: 29.2 Wh
energy-empty: 0 Wh
energy-full: 29.2 Wh
energy-full-design: 29.2 Wh
energy-rate: 0.14314 W
voltage: 4.213 V
charge-cycles: N/A
percentage: 100%
capacity: 100%
technology: lithium-ion
icon-name: 'battery-full-charging-symbolic'
History (charge):
1791275484 100.000 charging
1791275484 0.000 unknown
History (rate):
1791275484 0.143 charging
1791275484 0.000 unknown
Device: /org/freedesktop/UPower/devices/DisplayDevice
power supply: yes
updated: Tue 06 Oct 2026 05:31:24 AM -03 (0 seconds ago)
has history: no
has statistics: no
battery
present: yes
state: charging
warning-level: none
energy: 29.2 Wh
energy-full: 29.2 Wh
energy-rate: 0.14314 W
charge-cycles: N/A
percentage: 100%
icon-name: 'battery-full-charging-symbolic'
Daemon:
daemon-version: 1.90.9
on-battery: no
lid-is-closed: no
lid-is-present: no
critical-action: PowerOff
ruth@clockworkpi:~ $ sudo upower -d
Device: /org/freedesktop/UPower/devices/line_power_axp22x_ac
native-path: axp22x-ac
power supply: yes
updated: Tue 06 Oct 2026 05:36:16 AM -03 (766 seconds ago)
has history: no
has statistics: no
line-power
warning-level: none
online: no
icon-name: 'ac-adapter-symbolic'
Device: /org/freedesktop/UPower/devices/battery_axp20x_battery
native-path: axp20x-battery
power supply: yes
updated: Tue 06 Oct 2026 05:48:57 AM -03 (5 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
warning-level: none
energy: 29.2 Wh
energy-empty: 0 Wh
energy-full: 29.2 Wh
energy-full-design: 29.2 Wh
energy-rate: 5.984 W
voltage: 4.004 V
charge-cycles: N/A
time to empty: 4.9 hours
percentage: 100%
capacity: 100%
technology: lithium-ion
icon-name: 'battery-full-symbolic'
History (rate):
1791276537 5.984 discharging
1791276507 5.928 discharging
1791276477 6.036 discharging
1791276447 5.900 discharging
Device: /org/freedesktop/UPower/devices/DisplayDevice
power supply: yes
updated: Tue 06 Oct 2026 05:48:57 AM -03 (5 seconds ago)
has history: no
has statistics: no
battery
present: yes
state: discharging
warning-level: none
energy: 29.2 Wh
energy-full: 29.2 Wh
energy-rate: 5.984 W
charge-cycles: N/A
time to empty: 4.9 hours
percentage: 100%
icon-name: 'battery-full-symbolic'
Daemon:
daemon-version: 1.90.9
on-battery: yes
lid-is-closed: no
lid-is-present: no
critical-action: PowerOff
❯ upower -d
Device: /org/freedesktop/UPower/devices/line_power_axp22x_ac
native-path: axp22x-ac
power supply: yes
updated: Tue 06 Oct 2026 05:16:05 PM JST (2118 seconds ago)
has history: no
has statistics: no
line-power
warning-level: none
online: no
icon-name: ‘ac-adapter-symbolic’
Device: /org/freedesktop/UPower/devices/battery_axp20x_battery
native-path: axp20x-battery
power supply: yes
updated: Tue 06 Oct 2026 05:51:18 PM JST (5 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
warning-level: none
energy: 23.04 Wh
energy-empty: 0 Wh
energy-full: 36 Wh
energy-full-design: 36 Wh
energy-rate: 3.22292 W
voltage: 3.942 V
charge-cycles: N/A
time to empty: 7.1 hours
percentage: 64%
capacity: 100%
technology: lithium-ion
icon-name: ‘battery-full-symbolic’
History (rate):
1791276678 3.223 discharging
1791276647 4.055 discharging
1791276617 4.059 discharging
1791276587 4.146 discharging
Device: /org/freedesktop/UPower/devices/DisplayDevice
power supply: yes
updated: Tue 06 Oct 2026 05:51:18 PM JST (5 seconds ago)
has history: no
has statistics: no
battery
present: yes
state: discharging
warning-level: none
energy: 23.04 Wh
energy-full: 36 Wh
energy-rate: 3.22292 W
charge-cycles: N/A
time to empty: 7.1 hours
percentage: 64%
icon-name: ‘battery-full-symbolic’
Daemon:
daemon-version: 1.90.9
on-battery: yes
lid-is-closed: no
lid-is-present: no
critical-action: PowerOff
I have no experience with checking with multimeter unfortunately
How long did you leave the batteries charging? Are these batteries new? What is the current rating of these batteries?
I’m asking because of this line:
energy-rate: 3.22292 W
The current seems quite low.
for as long as I can remember.
when I read the current incoming it will only shows 40-50mah at 67-82%
upower -d will shows that it will needs 50+ hrs to full
this is what my uconsole reads, it is strange the capacity is 64
udevadm info --attribute-walk /sys/class/power_supply/axp20x-battery
Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/platform/axi/1000120000.pcie/1000120000.pcie:rp1:i2c@70000/i2c-3/3-0034/axp20x-battery-power-supply/>
KERNEL==“axp20x-battery”
SUBSYSTEM==“power_supply”
DRIVER==“”
ATTR{calibrate}==“48”
ATTR{capacity}==“64”
ATTR{charge_full_design}==“10000000”
ATTR{constant_charge_current}==“1950000”
ATTR{constant_charge_current_max}==“2100000”
ATTR{current_now}==“-869000”
ATTR{energy_full}==“36000000”
ATTR{energy_full_design}==“36000000”
ATTR{energy_now}==“23040000”
ATTR{health}==“Good”
ATTR{online}==“1”
ATTR{power/control}==“auto”
ATTR{power/runtime_active_time}==“0”
ATTR{power/runtime_status}==“unsupported”
ATTR{power/runtime_suspended_time}==“0”
ATTR{power_now}==“-3415170”
ATTR{present}==“1”
ATTR{status}==“Discharging”
ATTR{technology}==“Li-ion”
ATTR{type}==“Battery”
ATTR{voltage_max}==“4200000”
ATTR{voltage_max_design}==“4200000”
ATTR{voltage_min}==“2900000”
ATTR{voltage_min_design}==“2900000”
ATTR{voltage_now}==“3933000”
ATTR{waiting_for_supplier}==“0”
looking at parent device '/devices/platform/axi/1000120000.pcie/1000120000.pcie:rp1:i2c@70000/i2c-3/3-0034/axp20x-battery-power->
KERNELS==“axp20x-battery-power-supply”
SUBSYSTEMS==“platform”
DRIVERS==“axp20x-battery-power-supply”
ATTRS{driver_override}==“(null)”
ATTRS{power/control}==“auto”
ATTRS{power/runtime_active_time}==“0”
ATTRS{power/runtime_status}==“unsupported”
ATTRS{power/runtime_suspended_time}==“0”
looking at parent device ‘/devices/platform/axi/1000120000.pcie/1000120000.pcie:rp1:i2c@70000/i2c-3/3-0034’:
KERNELS==“3-0034”
SUBSYSTEMS==“i2c”
DRIVERS==“axp20x-i2c”
ATTRS{name}==“axp228”
ATTRS{power/control}==“auto”
ATTRS{power/runtime_active_time}==“0”
ATTRS{power/runtime_status}==“unsupported”
ATTRS{power/runtime_suspended_time}==“0”
looking at parent device ‘/devices/platform/axi/1000120000.pcie/1000120000.pcie:rp1:i2c@70000/i2c-3’:
KERNELS==“i2c-3”
SUBSYSTEMS==“i2c”
DRIVERS==“”
ATTRS{delete_device}==“(not readable)”
ATTRS{name}==“1000120000.pcie:rp1:i2c@70000”
ATTRS{new_device}==“(not readable)”
ATTRS{waiting_for_supplier}==“0”
looking at parent device ‘/devices/platform/axi/1000120000.pcie/1000120000.pcie:rp1:i2c@70000’:
KERNELS==“1000120000.pcie:rp1:i2c@70000”
SUBSYSTEMS==“platform”
DRIVERS==“i2c-gpio”
ATTRS{driver_override}==“(null)”
ATTRS{power/control}==“auto”
ATTRS{power/runtime_active_time}==“0”
ATTRS{power/runtime_status}==“unsupported”
ATTRS{power/runtime_suspended_time}==“0”
looking at parent device ‘/devices/platform/axi/1000120000.pcie’:
KERNELS==“1000120000.pcie”
SUBSYSTEMS==“platform”
DRIVERS==“brcm-pcie”
ATTRS{driver_override}==“(null)”
ATTRS{power/control}==“auto”
ATTRS{power/runtime_active_time}==“0”
ATTRS{power/runtime_status}==“unsupported”
ATTRS{power/runtime_suspended_time}==“0”
looking at parent device ‘/devices/platform/axi’:
KERNELS==“axi”
SUBSYSTEMS==“platform”
DRIVERS==“simple-pm-bus”
ATTRS{driver_override}==“(null)”
ATTRS{power/control}==“auto”
ATTRS{power/runtime_active_time}==“0”
ATTRS{power/runtime_status}==“unsupported”
ATTRS{power/runtime_suspended_time}==“0”
looking at parent device ‘/devices/platform’:
KERNELS==“platform”
SUBSYSTEMS==“”
DRIVERS==“”
ATTRS{power/control}==“auto”
ATTRS{power/runtime_active_time}==“0”
ATTRS{power/runtime_status}==“unsupported”
ATTRS{power/runtime_suspended_time}==“0”
lines 62-105/105 (END)

