Update GetInfoAlt.java

Couldn't test it, i can't figure out how to run the program off my computer, nothing initialises. Pretty much same as you had but using charge needed.