Before installing newer version of package the older one is removed from filesystem. When system turn off during this time package will be damaged and this could lead to unbootable system. My idea is feature that stop portage from this when battery is under certain level and wait for plug power supply in. This could be extended to UPS also. Reproducible: Always