单项选择题

Although he was under no obligation the shopkeeper replaced the defective battery free of charge.

A.guarantee
B.duty
C.power
D.authority