Both satyagraha and hartal were used during Indian fight for independence.
The difference is, Satyagraha refer to the resistence in non-violent way, which was famously brought by mahatma Gandhi.
Meanwhile, Hartal included violence that involve attacking the opposition.