Fix fm hardware api dir
Add charge resource
some changes