If U-Boot could detect this situation, it could boot an alternate system that goes into a low-power mode (turn off display or peripherals), indicates the level of charge somehow (e.g. with LEDs, or on-screen after a button press) and upon pressing the power button, reboots into the real OS.
Most...