Bettas are actually very active fish when kept correctly. A small, unheated, and unfiltered environment makes for a lethargic and unhealthy betta. An unhealthy fish such as one effected by ammonia poisoning will also move erratically.
Please upgrade to an appropriate aquarium of about 5-10 gallons with a filter and heater.