It is fashionable to be late in Bangalore. Mixed drinks are popular. Good idea to grab a bite before you go. Dinner also signals the end of the party. So it isn't impolite to eat and run.
Some restaurants stay open till midnight.
Eating out after pub closing is best in a 24 hour coffee shop in bigger hotels. Toilet paper may not be always available. So carry a roll. Beggars Instead of giving them money, give them edibles like cookies or bananas. Crime Bangalore is relatively safe.