Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Neither Vista Nor OSX have anything to do with battery charging. Proof? Does your battery charge when the computer is off? Does the battery charge/discharge when the harddrive is removed and you're running a command line OS? Of course!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.