PX4 reads incorrect battery voltage (shows 285V instead of 24V on Pixhawk 2.4.8)

Hi everyone,
I’m currently using PX4 firmware(v1.13.0) on a Pixhawk 2.4.8 board with a 6S LiPo battery and a standard Power Module.
However, PX4 (via QGroundControl) is reading the battery voltage incorrectly.

Here’s what happens:

  • The displayed battery voltage is around 285 V, while the actual voltage is about 24 V (measured with a multimeter).

  • When I enter 24 V into the voltage divider calculator in QGroundControl, the resulting divider value becomes 0.8757,
    and then the battery voltage display turns into “–.-- V” (no valid reading).

  • The power module cable and orientation seem correct, and the flight controller powers on normally.

It looks like PX4 is either using a wrong ADC input or the voltage divider calibration is being applied incorrectly.
Has anyone experienced this issue before on Pixhawk 2.4.8 with PX4?
Any advice on how to fix the battery reading would be greatly appreciated!

Thanks in advance.

Did you follow that tutorial: Battery Estimation Tuning (Power Setup) | PX4 Guide (main)?