power_supply: Add a charge_type property, and use it for olpc driver