Both, but like all batteries it'll eventually lose capacity over time. Although I don't think that realistically that will happen within the useful lifetime of the dongle anywayDoes that mean I have to replace the battery once it has died. Or does it recharge itself?