Bipolar I disorder ( BD-I ) is a chronic mental illness characterized by the presence of one or more manic episodes , or both depressive and manic episodes , usually separated by asymptomatic intervals .