Shutdown on boot when battery level is critically low

You have not mentioned if your battery is fully charged or not. More information is needed.

Charging should be possible without the system booted, or there are other issues with the system that have nothing to do with OM.

Are you able to confirm that?

Unfortunately, that doesn’t mean anything. Ubuntu uses an older kernel and installs everything you could possibly need for every system ever made. Similar with AlmaLinux, I’m sure. Windows is a completely different system with the same driver coverage as Ubuntu (every system ever made).

This hardware is very old. It should work with minimal configuration changes. I have something older that does not have this issue, but it is using AMD and ATI hardware.