What year is your bike?
Post-'01 bikes do a better job of maintaining voltage throughout the RPM range than the early bikes but don't have kickstarters. If the load exceeds the charging system's ability to replenish the battery you could wind up afoot, particularly after short trips or low RPM riding.
A small voltmeter would help you monitor battery voltage as you ride. 24W is a substantial load, but you could switch it on and off according to the volt meter if it affected charging.
Post-'01 bikes do a better job of maintaining voltage throughout the RPM range than the early bikes but don't have kickstarters. If the load exceeds the charging system's ability to replenish the battery you could wind up afoot, particularly after short trips or low RPM riding.
A small voltmeter would help you monitor battery voltage as you ride. 24W is a substantial load, but you could switch it on and off according to the volt meter if it affected charging.