Let [tex]\mu[/tex] be the population mean.
By considering the given information , we have
[tex]H_0:\mu=500\\\\H_a:\mu\neq500[/tex], since the alternative hypothesis is two tailed , so the test is two tail test.
Given : Sample size : n=30
Sample mean : [tex]\overline{x}=497[/tex]
Then, Standard deviation : [tex]\sigma=10[/tex]
The p-value = 0.1111, the null hypothesis is not rejected.
Thus , we conclude that we have evidence to accept the company's claim that the batteries have on average 500 charges.