is it the motherboard's post that will prevent a critically low battery from continuing with booting up the OS?
is it the bootloader's responsibility? (e.x GRUB)
or is it the kernel who runs some hardware checks that prevents it?
thanks!
That entirely depends on at what stage the power will run out.
The earliest stage would probably be battery's built in discharge protection circuit which will cut off power to prevent discharging below a threshold where charging the battery again could cause fire.
The motherboard should refuse to boot before reaching levels that low though.