Finally, got a power supply for my laptop. Been turned off for quite a while. When I powered it on and tried to update it:
error: GPGME error: No data
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))
Fixed using:
$ sudo rm -R /var/lib/pacman/sync
Then retry the update, and it re-downloads all the keys.
