As a Brit & mentor, but not a teacher, B is correct.
If you meant A, you would have taken it back to the shop immediately.
B doesn't preclude it from having worked for some time, but it regularly doesn't work now.
Hope this helps
- For Teachers