Soak the lentils for at least an hour else they will not cook within the time and the potatoes will get over cooked in the more time needed to cook lentils.
In saute mode over medium, add oil, ginger, garlic, chile and cook until translucent. Add tomato and spices and cook until tomatoes are tender. Mash the larger pieces. 4 to 5 minutes.
Add the potatoes, drained lentils, water, salt and mix in. Add in the spinach or greens and mix in. Close the lid and cook on Manual (high pressure) for 7 to 8 minutes. Let the pressure release naturally.
Open, taste and adjust salt and spice. Add more spices or garam masala if needed. Garnish with cilantro, pepper flakes and lemon and serve over rice or with roti/flatbread.
To make in a saucepan, use 1 cup cooked lentils. Follow step 2 in a saucepan. Add the potatoes, cooked lentils, spinach, salt, water. Partially cover and cook over medium heat for 20 minutes or longer until potatoes are tender. Taste and adjust salt and spice.Variation: Adjust water to make less or more curry. Add half coconut milk instead of water for a creamier curry.