You're not going to harm anything, but it might not really be charging it. You might want to see how long it takes with the computer turned on first just so you can tell if it's doing anything.
You might drain the battery all the way if it isn't really charging, which might make it hard to get it running again(though not impossible).