Arduino USB and Solar Cells

Hoo nice, and it is possible to trigger some kind of message depending on the current voltage? like sending a warning to the pc or something like that? or maybe even to a display???

thanks again for your time