How do you know the battery is good?
The only true way to test it is to load test it. Not a tool that your average guy keeps at home.
If that's good, then you must have a drain somewhere and that could be tricky to find.
But, your bike is under warranty, so take it to the dealer and let them figure it out.