I had a similar problem with my MBA mid-2012 when I upgraded to Sierra. Close the lid and the battery was dead the next morning. For me it took 2 steps:
1) Click on Settings >> iCloud and then checked box next to KeyChain but immediately unchecked using Cancel button. This alone stopped the secd process from running at near 100% CPU. I did not want this checked (do not want to place any credentials in Apple's servers) so I kept it unchecked. Amazingly this worked and secd stopped consuming CPU.
2) While step 1 took care of secd consuming CPU and slowing things down, I would still find a dead battery the next morning. I then ran the following form the command prompt:
sudo pmset hibernatemode 0
Some older laptops might work with a value of 1 but apparently 0 was required to put my MBA back into normal hibernation mode. Apparently, this setting is changed when you upgrade to Sierra (Thanks Apple!). If you want to know your existing setting (mine was set to 3), then use this command at the console prompt mentioned in another reply...
pmset -g | grep hibernatemode
My MBA displayed a value of 3 but after using the sudo command, it is now 0. I then left my lid closed in hibernation overnight and still had 100% battery the next day! All done!
Dear Apple - please leave our current settings along during upgrades. Otherwise, we may just keep our current OS.