Battery draining overnight

found the problem apparently my trunk light socket must be bad
Is your trunk light self switched or switched by the push button on the trunk lip drivers side?