To clean a chainsaw, first, place the base down on a stable work surface and make sure the chain is not touching anything. If it's an electric chainsaw, make sure it's unplugged from power. Then adjust the knob that controls the chain's tension until the chain is loose enough for you to remove it from the bar. Then you can use a bar groove cleaner and a pick, screwdriver, or compressed air to clear any debris on the bar. Then in a well-ventilated area, carefully mix 1 gallon of water and 1 cup of ammonia in a bucket and soak the chain for up to 20 minutes. Once it's done soaking, put on a pair of thick rubber gloves and use a small brush to loosen and free any debris on the chain. Once it's clean, remove it from the solution and thoroughly rinse it under water to remove the ammonia. Dry it off as much as you can with a towel and then hang it in a safe spot to air-dry completely before you lubricate it. To lubricate the chain, let it sit in bar and chain oil for 3 hours on one side, and then flip it over and let it sit for another 3 hours. Once it's done, you can gently dab it to get rid of any excess oil. Then you can reattach it to the bar and tighten it to the proper tension. While your chain is lubricating, you can clean the rest of your chainsaw. To clean the powerhead, simply wipe it down with a dry cloth and use a paintbrush and screwdriver to brush away or unclog any thick debris around the crankcase, clutch, drum, and bar studs. On gas models, you'll need to clean the air filter, spark plug, and cooling fins. To clean the air filter, simply remove it and brush off any debris with a paintbrush. You can also run it under water if it's particularly dirty, just make sure it's completely dry before placing it back in your chainsaw. For the sparkplug, you just need to check if it's dark brown or black. If it's the latter, it will need to be replaced. Finally, for the cooling fins, you can use a screwdriver to carefully pick out any stuck debris and a paintbrush to brush off the rope rotor.