added battery api example
Merge branch 'WDC14' of github.com:ajfisher/wdc into WDC14