The usual recommendation is that you should be connected to power adapter when you download/install updates -- particularly full-system updates; and, of course, it makes no difference what charging level your battery is - just plug it in when updating your system.