Combine the onions, oil, salt, and brown sugar (if using) in a slow cooker. Mix thoroughly.
Cover and cook on low for 10 hours.
Notes
Cut even-sized pieces: For uniform cooking.
Monitor and adjust: Your slow cooker may run a little warmer than mine, so it’s a good idea to monitor it your first time trying the recipe – occasional stirring might work best for you.
Jammier onions: After 10 hours, stir, place the lid slightly ajar, and cook for another 4-5 hours for sweeter, deeper, more complex onions.
Save the juice: If you don’t cook off extra juices, drain it, freeze it in an ice cube tray, and add to stocks, soups, stews, and sauces for depth.