Block late suspend on battery empty and thermal shutdown

There is a short delay before shutdown actually starts after battery
empty and thermal shutdown notifications are broadcast. We need to block
late suspend so that the device will not go to sleep during that delay.