added battery statu api