Is my honda Rebel motorcylce battery dying?

When I ride my motorcylce and squeeze the clutch in, my bike sometimes dies. I can roll on the throttle and press the ignition button and it comes back on but will die again here and there when i hold the clutch. At night I noticed when I squeeze the clutch the light gets dim (before it dies). I did run out of gas and a few weeks ago and noticed this after using the reserves and believed it was sediment in my fuel line. Now i'm not sure.

The battery can be 'load-tested' at a motorcycle shop with the proper equipment.
A weak battery can effect many different working parts because it sucks power away from those parts, best to have it checked.
If battery checks out okay than the next step is to have the recharging system checked, sorta the same but different. (ask if you want details).

It could be any of several things… It obviously has a low idle. Is that causing the bike to quit (the lights will go dim from a low idle)? A bad battery will drag it down too, but if it's that dead, you'd have to jump or kick start it (i know, you don't have one of those).

So, you need to figure out WHAT is causing the low idle condition in order to be able to fix it.